No matter how much I try, I can’t get past the " The navbar should always be at the top of the viewport." step. When I try to do the position: fixed in css my nav bar runs off to below the title…Can someone please help me figure what’s wrong in my code…Thanks in advance! Here is my codepen https://codepen.io/snirosha91/pen/abOpRbW.
could you paste a link to the challenge youre trying to pass?
what is your navbar suppose to look like?
You have a div with a class name of
container which contains nothing. You could take all of the code below that div, cut it and paste it so that the div just mentioned wraps it. Then you can position that div with respect to the top of the page.
<div class="container"> <stuffthatusedtobebelowthediv/> </div>
Add the width property in your .nav-link class and set it to 100%. That should work