Tell us what’s happening:
I have been having issue with the " Your #navbar element should always be at the top of the viewport."
I have tried fixing the position but so far it hasn’t worked …below is the css code…I am perpetually stuck at this point.
Code can be ok for id nav in css can be good if make new div only for navbar and put around code made for list ul move nav id to new div around ul than can make new css writing for ul and can use flex and space for writing put for website links in header try not want give answer but can be some extra code can add and make new div position fixed can also add 0 for right if want hope can help thank you take care gn gm fren other person also put information can help
Can you show all your current code so I can see all of it, not just the parts of it? I ask because when I make the changes in your last post then the challenge passes for me. So, I want to see how you are doing it all
tried your code again so can help know can be frustrate sometimes but your code is good and can be almost fix for computer to approve wanted items than only try nave me removed the list items and can make a div with nav id for you and than just use the a elements for your website links than back to your nice css code just try again and use flex also justify content add space between some height and can also add class for your A elements if want make type font size different large small or another color all colors can be same thank you take care gn gm fren
<div id='navbar'>
<a class="can be if want change color type size" href='#welcome-section'>About</a>
<a href='#projects'>Project</a>
<a href='#contact'>Contact</a>
</div>
can be good if want add height for nav if want
can be person put all of code in first question put if start from top of webpage can see code added if make change with the new part of code can pass because have to erase navbar from before and add new header code made now and add new html than code will not be ok even with new css header it will not pass becuase code camp webite needs Id nav to have attributes in css
I just added the extra part of header in html and css (in the post above and which the only thing i changed …the rest of code is all same as in original post) , I haven’t saved the code…just run tests on it to make sure it works and it does runs into same problem…what should i do …save the code
this is all changed html code :
can be welcome glad can get help in message text
nav can also work here can change the div me put for you to nav instead
li can be used somewhere else but the question wanted flex display added for nav that is why had to change it remember if keep Nav plus UL LI had to use flex for UL to make navbar accross top of screen if added only flex for Nav and keeping UL LI the Nav flex would not put the UL LI accross screen unless had 2 3 4 extra UL LI’s that can be same as you have A elements now for it to put accross screen the way before was just Nav UL LI and putting display flex would do nothing to UL becuase can be only one hope can understand thank you take care gn gm fren