• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 2
Search the functions that are giving you trouble and usually something pops up on google . https://stackoverflow.com/questions/24219702/struggling-with-classlist-add-and-getelementsbyclassname change your DropDown function to this and it should work function DropDown() { var elements = document.getElementsByClassName("dropdown"); for(ele of elements) { ele.classList.toggle('active') } }
30th Mar 2019, 9:37 PM
Bruno Costa
Bruno Costa - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
code coach
4 Votes
I m just begginer, i don't even understand how to use this app.. send help.. im at level 1
0 Votes
Does this app support the audio tag?
0 Votes
Hi im a begneer and i dont understand how to code if anyone whos smart replay
0 Votes
I dont know what i should do with java script
0 Votes
i want correct anwer code
0 Votes
Who should or which website should i visit or watch so i could learn python??
1 Votes
IndexOf()
1 Votes
ŰŁÙ†Ű§ Ù…ŰšŰȘۯ۩ی كيف ۣۚۯۣ ŰȘŰčلم Ű§Ù„ŰšŰ±Ù…ŰŹŰ© ÙˆÙ…Ű§ هي ŰŁÙŰ¶Ù„ لŰșŰ© Ù„ÙŠŰŸ
1 Votes
Is there a level after intermediate Python?
1 Votes