Tell us what’s happening:
Having trouble completing:
-
User Story #5: When I click a
.nav-link
button in thenav
element, I am taken to the corresponding section of the landing page.
What I tried so far:
setting links in my list to guide to the corect page.
finding out what to do -
User Story #13: The navbar should always be at the top of the viewport.
What i tried so far:
I used: https://www.w3schools.com/css/css_navbar.asp to learn better but, i still can’t figure out what to do.
I tried setting position to sticky to absolute but it still would’t stick to the top
Your code so far
https://codepen.io/maria-hoek/pen/vYYEzeR
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.1 Safari/605.1.15
.
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-projects/build-a-product-landing-page