Tell us what’s happening:
Describe your issue in detail here.
Despite adding 2 media queries, I am unable to pass the media query user story.
(This code is just the bare minimum that I need to pass the user stories. I’ll be fine-tuning it after I pass all the stories.)
**Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>personal portfolio</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<navbar id="navbar">
<ul>
<li><a href="#welcome-section">welcome</a></li>
<li><a href="#projects">projects</a></li>
</ul>
</navbar>
<section id="welcome-section">
<h1>vjakhroihioh</h1>
</section>
<section id="projects">
<h1 class="project-tile"></h1>
<a id="profile-link" href="--added my profile link here--" target="_blank">click on me!</a>
</section>
</body>
</html>
/* file: styles.css */
#projects { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-gap: 5px; }
@media screen and (max-width: 1000px){
@media (max-width: 400px) { #projects { display: grid; grid-template-columns:1fr; grid-gap: 5px; }
}
}
#welcome-section{
height: 100vh;
}
#navbar{
position: absolute;
top: 0;
}
@media only screen and (max-width: 600px){
html {
font-size: 1em;
}
}
**Your browser information:**
User Agent is: <code>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36</code>
**Challenge:** Personal Portfolio Webpage - Build a Personal Portfolio Webpage
**Link to the challenge:**
https://www.freecodecamp.org/learn/2022/responsive-web-design/build-a-personal-portfolio-webpage-project/build-a-personal-portfolio-webpage