What wrong with this code, why javascript code doesn't work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What wrong with this code, why javascript code doesn't work

Help me https://code.sololearn.com/WwnSdH7PZl0L/?ref=app

22nd Sep 2021, 12:14 PM
EsaKurniawan
2 Answers
0
.card that you rry to toggle in display is inside the drop-down – which is always hidden (specified in the css)
22nd Sep 2021, 12:35 PM
Lisa
Lisa - avatar
0
There are two method u can do so .. 1. .appear { display: block !important; } Or 2. .drop-down ul.appear { display: block; }
22nd Sep 2021, 1:35 PM
Pariket Thakur
Pariket Thakur - avatar