I'm having trouble getting a part of my navbar to align right in bootstrap 5. I've followed the new documentation, but I think I might be adding the text in the wrong place. Can someone assist me in moving my dropdown to the right side of the navbar?
The entire navbar code is provided below -- line 18 onwards is where I am facing difficulties (with the dropdown component).
<nav class="navbar sticky-top navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">MacroTickets</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarTogglerDemo02" aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo02">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Events</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/artists">Artists</a>
</li>
<li class="nav-item dropdown ms-auto">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
data-bs-toggle="dropdown" aria-expanded="false">Sign Up</a>
<ul class="dropdown-menu" aria-labelledby="Sign Up">
<li><a class="dropdown-item" href="/artists/new">As an Artist</a></li>
<li><a class="dropdown-item" href="/users/register">As a Fan</a></li>
</ul>
</li>
</li>
</div>
</div>
</nav>