Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Tell us what’s happening:
I cant seem to figure out how to place the nav-bar at the top of viewpoint, and it is very frustrating, please someone help me :sob:
I tried every thing i know of

Your code so far


The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36 Edg/104.0.1293.47

Challenge: Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Link to the challenge:

nav {
 background-color: white;
  position: fixed;
  top: 0%;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 80px;
  font-size: 30px;

position plus top… did it for me

Take a look at the course notes on Lock an Element to the Browser Window with Fixed Positioning. Then there is a HTML nav element.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.