12-11-2020, 08:10 AM
Hello, the dropdown function on my website does not work and I need help debugging.
can anyone please help me find the problem?
PHP Code:
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="game_store_console_section.php" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Consoles
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="game_store_playstation.php">Playstation</a>
<a class="dropdown-item" href="game_store_xbox.php">Xbox</a>
<a class="dropdown-item" href="game_store_switch.php">Switch</a>
</div>
</li>