Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Tell us what’s happening:
Describe your issue in detail here.
It says navigation bar (#navbar) should be at top of the viewport. so it is there. but code doesn’t pass.
Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="styles.css">
    <title>personal portfolio project</title>
    <nav id="navbar">
      <ul><li><a href="#welcome-section">About</a></li>
      <li><a href="#projects">Work</a></li>
      <li><a href="#Contacts">Contacts</a></li></ul>
      <div id="welcome-section">
      <h1>Hey I am Mimic</h1>
      <h3>a web developer</h3>
    <div id="projects">
      <h3><u>These are some of my projects</u></h3>
      <div class="project-tile" >
        <img src="">
        <p><a href="">Tribute page</a></p>
      <div class="project-tile">
        <img src="">
        <p><a href="">Random quoto machine</a></p></nav>
    <div id="Contacts">
<h1>Let's work together...</h1>
<h6>How do you take your coffee?</h6>
<img src="#GITHUB">
<a href="" id="profile-link" target="_blank">GIT HUB</a>
/* file: styles.css */
@media screen and (min-width: 480px){
    color: black;
  background-color: red;
  color: white;
  background-color: black;
  text-align: center;
  background-color: Darkblue;
  color: white;
  text-align: center;
  height: 100vh;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0

Challenge: Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Link to the challenge:

Try specifying the padding-top property to 0px for the navbar and the body element. Same for the margin-top too.

It’s not working …but thank you so much for the comment…

hello and welcome to fcc forum :slight_smile:

add “top: 0” and also remove “padding and margin” as well, happy learning :slight_smile:

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