Why after click I can't see how ".firstBlock" coming back? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 3

Why after click I can't see how ".firstBlock" coming back?

I put the code responsible for this operation in the comments /* Start */ and /* End */ in JS. https://code.sololearn.com/WaHGl5IV7U8T/?ref=app

19th Jul 2020, 4:48 PM
Pavel Durov
Pavel Durov - avatar
1 Antwort
+ 3
Is it a quiz show question, or I didnt catch you? The function should be look as follows: function turnback() { $(".firstBlock").toggleClass("altFirstBlock"); }
19th Jul 2020, 4:59 PM
JaScript
JaScript - avatar