My website has an issue on mobile where the hamburger menu appears but doesn't respond when clicked. I'm unsure what's causing this problem in my code.
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand wc" href="{{url_for('main.home')}}">our association</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="list" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link wc navb-it" href="{{url_for('main.about')}}">About</a>
</li>
<li class="nav-item">
<a class="nav-link wc dropbtn navb-it" href="#">stuff1</a>
</li>
<li class="nav-item">
<a class="nav-link wc navb-it" href="#">stuff2</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle wc navb-it" href="#" id="navbarDropdown">Event</a>
<div class="dropdown-menu mt-0" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#">2020 Hackathon</a>
<a class="dropdown-item" href="#">Coding Challenges</a>
</li>
</ul>
<ul class="navbar-nav ml-auto">
{% if current_user.is_authenticated %}
<li class="nav-item">
<a class="nav-link wc navb-it" href="{{url_for('posts.new_post')}}">New Post</a>
</li>
<li class="nav-item">
<a class="nav-link wc navb-it" href="{{url_for('users.user_drafts', username=current_user.username)}}">My Drafts</a>
</li>
<li class="nav-item">
<a class="nav-link wc navb-it" href="{{url_for('users.user_posts', username=current_user.username)}}">My Posts</a>
</li>
<li class="nav-item">
<a class="nav-link wc navb-it" href="{{url_for('users.account')}}">Account</a>
</li>
<li class="nav-item">
<a class="nav-link wc navb-it" href="{{url_for('users.logout')}}">Logout</a>
</li>
{% else %}
<li class="nav-item">
<a class="nav-link wc navb-it" href="{{url_for('users.login')}}">Log in</a>
</li>
<li class="nav-item">
<a class="nav-link wc navb-it" href="{{url_for('users.register')}}">Register</a>
</li>
{% endif %}
</ul>
</div>
</nav>
Initially, the menu didn't appear due to a missing bootstrap color scheme in the navbar. Now, even though it displays, the mobile menu isn't functional upon clicking. Any assistance would be appreciated.