Personal Portfolio Webpage - Build a Personal Portfolio Webpage

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

Your code so far

Hi everyone, I get the error “Your #navbar element should always be at the top of the viewport”. I ve been trying to do it right but I don’t know what else to do. It’s seem to be right for me. I’m new in coding so maybe there is something that I missing. I appreciate any help or advice. Thanks

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <title>Ramiro Bratti</title>
    <link rel="stylesheet" href="styles.css" />

  <section id="welcome-section" class="asd">

<navbar id="navbar" class="navbar">
<a href="#About">About</a>
<a href="#Works">Projects</a>
<a href="#Contact">Contact</a>

<h1 >Hey I'm Ramiro</h1>
<h1>a web developer student</h1> 

<section id="projects">
<h1 id="Works">These are some of my projects. I know that I have a lot to learn but I will do my best to improve myself :)</h1>
<a class="project-tile">
<div class="projects">
<a id="profile-link" target="_blank" href="">| Tribute page |
<a id="profile-link" target="_blank" href="">Survey Form |
<a id="profile-link" target="_blank" href="">Technical Documentation Page |
<a id="profile-link" target="_blank" href="">Product Landing Page |
<section  class="contact">
<h1 id="Contact">I leave my adresse mail here in case you want to work with me :)</h1>

/* file: styles.css */
body {background-color: red; }

h1 {text-align: center; font-size: 32; margin-top: 80}

.projects {font-size: 30; text-align: center }

.navbar {font-size: 35; background-color: black; margin-top: 0}

.contact > a {font-size: 30;  }

@media screen and (max-width: 992px) {
body {
background-color: blue;

Your browser information:

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

Challenge: Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Link to the challenge:

Hello and welcome.

Add the position: fixed to your navbar styles.


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