Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Tell us what’s happening:
Describe your issue in detail here.

Hello. I’m stuck on the last step, making sure my navbar is at the top of the viewport. Can someone tell me what I’m doing wrong?

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8">
  <link rel="stylesheet" href="styles.css">
    <navbar id="navbar">
  <a class="nav-link" href="#welcome-section">About</a>
<a class="nav-link" href="#projects">Work</a>
<a class="nav-link" href="#contact">Contact</a>
    <section id="welcome-section">
      <h1>Welcome to my portfolio</h1>
    <section id="projects">
      <h2>My Projects</h2>
    <div class="projects">
      <a href="" target="_blank"></a>
      <p class="project-tile">Survey Form</p>
    <section id="contact">
<a id="profile-link" href="" target="_blank">Profile</a>
/* file: styles.css */
@media (max-width: 960px){
  .Projects { 
    padding: 2rem;
.navbar {
  display: flex;
  justify-content: flex-end;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Link to the challenge:

Are you sure you are using a class for the navbar?

Also, there is not such thing as a navbar element. It should just be nav.

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