Personal Portfolio Webpage - Build a Personal Portfolio Webpage

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

*Im getting a very weird aspect ratio on the preview vs my code from what I can see…
Can someone take a look at my code and see if you can spot my error??

TIA**

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <title></title>
    <link rel="stylesheet" href="styles.css"></link>
  </head>
  <body>
   <nav id="navbar">
     <ul id="nav-list">
       <li>
         <a href="#welcome-section"> About</a>
       </li>
       <li>
         <a href="#projects"> Work</a>
       </li>
       <li>
         <a href="#contact"> Contact</a>
       </li>
     </ul
   </nav>
   <section id="welcome-section" class="welcome-section">
     <h1>Hey I am Mimic</h1>
     <p>am a < web developer /></p>
   </section>
   <section id="projects" class="projects"></section>
   <section id="contact" class="contact"></section>
  </body>
</html>
/* file: styles.css */
body{
  font-family: 'poppins', sans-serif;
}

#navbar{
  background-color: #be3144;
  position: fixed;
  top:0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

#nav-list{
  display: flex;
  flex-direction: row;
}

li{
  list-style: none;
}

a{
  color: white;
  text-decoration: none;
  font-size: 1.5em;
  padding: 1rem 2rem;

}

a:hover{
  background-color: #45567d;
}
#welcome-section{
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

Your browser information:

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

Challenge: Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Link to the challenge:


This is how the preview looks

Close the closing ‘ul’ tag:
image

1 Like

Blessings! Thank you very much!

1 Like