Attempting to create a website featuring a collapsible navbar, but encountering some issues. The button is properly identified with the correct ID assigned. Jquery and bootstrap have been included in the necessary order at the bottom of the body. However, upon clicking the button, no action occurs.
In an effort to customize the navigation bar further, additional CSS code was added. Surprisingly, even without this code, the navigation bar fails to function, ruling out the CSS as the potential cause.
HTML:
<head>
<meta charset="utf-8">
...
</head>
...
CSS:
.navbar-brand {
...
}
@media (min-width: 768px){
...
}
Libraries:
- jQuery v3.5.1
- Bootstrap v4.3.1