Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Tell us what’s happening:
Describe your issue in detail here.
I have been stuck here for days; “Your portfolio should use at least one media query.” Please help!!!
Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
 <link href="styles.css" rel="stylesheet"> 
   <navbar id="navbar">
    <a href="#web">About us</a>
    <link href="styles.css" rel="stylesheet">
  <a id="profile-link" target="_blank" href="profile-link">contact us</a>
<section id="welcome-section">
  <h1>Portfolio Webpage</h1>
<section id="projects">
  <h2>webpage<a class="project-tile" href="project-tile">
  <link href="styles.css" rel="stylesheet">
/* file: styles.css */
 position: fixed;
  width: 100%;
  text-align: left;
  font-size: 24pt;
  top: 0%;
  left: 0px;
  background-color: #000000;
  color: #ffffff;

.h2{font-size: 3.2rem;
color: white;}
#nav-list{display: flex;}

.h1{color: yellow;
font-size: 5rem}

@media (max-width: 500px){
    color: blue;
    font-size: 2rem;

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

Challenge: Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Link to the challenge:

I hope this helps you complete your project.

You still have problems with your HTML (there is no such element as navbar). Once you fix this then you will need to update your CSS.

Also, you only want to include “styles.css” once in the head element. Get rid of the other link tags that are including “styles.css”.


It worked, Thank you so much.

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