0

Bootstrap 4 responsive navigation menu

<nav class="navbar navbar-expand-lg navbar-dark bg-dark"> <a class="navbar-brand" href="#" data-abc="true">CodeRatings</a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor02" aria-controls="navbarColor02" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button>
    <div class="collapse navbar-collapse" id="navbarColor02">
        <ul class="navbar-nav mr-auto">
            <li class="nav-item active"> <a class="nav-link" href="#" data-abc="true">HTML <span class="sr-only">(current)</span></a> </li>
            <li class="nav-item"> <a class="nav-link" href="#" data-abc="true">CSS</a> </li>
            <li class="nav-item"> <a class="nav-link" href="#" data-abc="true">JAVASCRIPT</a> </li>
            <li class="nav-item"> <a class="nav-link" href="#" data-abc="true">BOOTSTRAP</a> </li>
            <li class="nav-item"> <a class="nav-link" href="#" data-abc="true">PHP</a> </li>
            <li class="nav-item"> <a class="nav-link" href="#" data-abc="true">JAVA</a> </li>
        </ul>
    </div>
</nav>
body {
    background-color: #AA00FF
}
RUN
add comment
Suggest a different solution or add another example