Only one link in nav bar appears

The first two are cut off.

The position:fixed; and the top: 0; left: 0; which is in the #navbar li rule moves the links up above the screen.

If you remove or alter those, you’ll be fine :+1:t5:

But I did that exact same thing with this project and that didn’t happen.

I changed your code a little. Check it out, If you have any questions, just ask me!


    <li><a href="#p1" class="nav-link">Project 1</a></li>
    <li><a href="#p2" class="nav-link">Project 2</a></li>
    <li><a href="#p3" class="nav-link">Project 3</a></li>
<header id="welcome-section">
  <h1>My Portfolio</h1>
<div id="projects">
  <h2 class="project-tile" id="p1">Project 1</h2>
    <a href="">Project 1</a>
  <h2 class="project-tile" id="p2">Project 2</h2>
  <a href="">Project 2</a>
  <h2 class="project-tile" id="p3">Project 3</h2>
  <a href=""> Project 3</a>
<a href="" id="profile-link" target="_blank">GitHub</a> ```


```html {
  scroll-behavior: smooth; 
body {
  background: linear-gradient(525deg, red, tomato); 
#navbar li {
  width: 100%; 
  padding: 12px;

@media (min-width: 600px) {
  body {
    text-align: center; 
} ```

So basically you just moved the nav bar code above the welcome headings.

But won’t that mess with these two tasks for the project?

The height of the welcome section should be equal to the height of the viewport.

The navbar should always be at the top of the viewport.

When they say the height of the welcome section, they mean something like this:

Ignore the nav bar at the top, but the part of the page where the picture of the iPhone and the text written, “It’s a leap year”, that’s a welcome section. You see that there’s nothing else? No text, nothing, just that. They made their welcome-section be the height of the viewport.

And for the navbar, set it to position:fixed but first try that without putting the top: 0; and the left: 0; stuff which you had put before.