I have the navbar fixed to the top using CSS but I am still getting an error that says it is not. Here is the link to the github repo https://github.com/progg1992/freeCodeCampLP.
Thanks for your help in advance
I have the navbar fixed to the top using CSS but I am still getting an error that says it is not. Here is the link to the github repo https://github.com/progg1992/freeCodeCampLP.
Thanks for your help in advance
The class name is just fixed-top
not navbar-fixed-top
(docs).
Or if you want to do it in your CSS, you have to overwrite the Bootstrap styles using !important
.
position: fixed !important;