rpatt
October 29, 2020, 3:23am
1
Tell us what’s happening:
I’m struggling to keep the navbar at the top of the viewport I followed someone else code for the navbar yet it still doesn’t work.
Your code so far
https://codepen.io/your-work/
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
.
Challenge: Build a Product Landing Page
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
1 Like
Roma
October 29, 2020, 5:04am
2
You need to provide a link to the pen you’re referencing. Not a generic link that leads to our pens.
not able to see your code. But you can try this or similar in css
nav { position:fixed; top: 0; }
1 Like