Before you criticize my imports, here are the scripts I am using:
<script src="~/lib/jquery/dist/jquery.min.js"></script>
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="~/js/site.js" asp-append-version="true"></script>
I am facing an issue where my dropdown menu does not open at all, and in the web developer tools, the underlying HTML appears to be invisible. Here is the relevant HTML code:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="1e7c71716a6d6a6c7f6e5e2a3028302f">[email protected]</a>/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3 header-company">
<div class="container">
<a class="navbar-brand reflection-container" asp-area="" asp-page="/Index" style="margin-bottom: 30px;">
<img src="/" alt="Logo" id="logo" style="margin-left: 10px;" />
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".navbar-collapse" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse justify-content-end" style="margin-top: 75px;position:static;">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link text-dark nav-headlines" asp-area="" asp-page="/Test1">TEST1</a>
</li>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".navbar-collapse" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle text-dark nav-headlines" data-toggle="dropdown" asp-area="" asp-page="/Test2">TEST2</a>
<div class="dropdown-menu navbarSupportedContent">
<a class="dropdown-item nav-link text-dark nav-headlines" asp-area="" asp-page="/Test3">TEST3</a>
<a class="dropdown-item nav-link text-dark nav-headlines" asp-area="" asp-page="/Test4">TEST4</a>
<a class="dropdown-item nav-link text-dark nav-headlines" asp-area="" asp-page="/Test5">TEST5</a>
<a class="dropdown-item nav-link text-dark nav-headlines" asp-area="" asp-page="/Test6">TEST6</a>
<a class="dropdown-item nav-link text-dark nav-headlines" asp-area="" asp-page="/Test7">TEST7</a>
<a class="dropdown-item nav-link text-dark nav-headlines" asp-area="" asp-page="/Test8">TEST8</a>
</div>
</li>
<li class="nav-item dropdown">
<a href="/Test9" class="nav-link dropdown-toggle text-dark nav-headlines" data-toggle="dropdown">TEST9</a>
<div class="dropdown-menu">
<a class="dropdown-item nav-link text-dark nav-headlines nav-divider" asp-area="" asp-page="/Test10">TEST10</a>
<a class="dropdown-item nav-link text-dark nav-headlines" asp-area="" asp-page="/Test11">TEST11</a>
</div>
</li>
</ul>
</div>
</div>
</nav>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="bcded3d3c8cfc8ceddccfc88928a928d">[email protected]</a>/dist/js/bootstrap.bundle.min.js" integrity="sha384-fQybjgWLrvvRgtW6bFlB7jaZrFsaBXjsOMm/tB9LTS58ONXgqbR9W8oWht/amnpF" crossorigin="anonymous"></script>