im srry its a messy code, anyways the probalem is that my text when u click the wrong button doesnt work. also why for my last question it doesnt display block like the others https://code.sololearn.com/WfzACEC8T03y/?ref=app
Yes, it's again an html problem: you replaced the div elements with button elements as I suggested but actually you replaced only the opening tag (with a <button>), leaving the closing tag as a </div>, so now the html code is completely messy; replace the closing div tags with closing button tags. Moreover don't forget to close the div opened in line 54 (you should hav two closing div in lines 58 and 59, one for the div opened in line 53 and one for the div in line 54); with those fixes the code should work.
Fabio Caputi in my js code. i set it to where whenver u click the right answer the other answers going back to my doors for the first question i want it so when you click the right door the other 2 become disabled = true; this is not working though. i fixed some typos (not sure if there is more) but is there something else im missing there? only my first question with the disable is working. the other 2 questions dont work
Describe in detail what you want your program to do. When each button is clicked what should happen?
uhhh Fabio Caputi k so i just saved it and not my displays arent working for skme reason, could that also be something from my html also?
oh, okay so. for the first question i want whenever u press the third door it beings u to the next question. the other 2 answer will say smth like “you failed” thats my problem
Why are my users being logged as [object Object] when logging my array/user instead of giving me the values [name, age]?
JS in sololear is latest version or older? What do we use often VAR or LET and CONST?? I Have VAR is no longer used is it true??
Somebody help me please 🥺
Kotlin get if Var doesn't exist
difference in while loop