Dropdown menu

I made a dropdown menu in my navigation bar. In it works with the live preview in Brackets but when i uploaded it online it’s gone.

<div class="dropdown"> <button class="dropbtn">Portfolio <i class="fa fa-caret-down"></i> </button> <div class="dropdown-content"> <a href="project.html">MM-project</a> <a href="magazine.html">Magazine</a> <a href="animatie.html">Animatie</a> </div> </div>

looks like this:

Should look like this:

What is your website URL, so I can check what’s the problem?


only on the main page

For me the dropdown works. Maybe it’s a caching issue for you, so try to clear your browser cache.


Many thanks! It works now :slight_smile:

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.