Says it needs a media query. put one in and says error

Tell us what’s happening:
Describe your issue in detail here.
tells me i should have atleast one media query but everytime i add one it tells me the same thing

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<head>    <link rel="stylesheet" href="styles.css"></head>
 <nav id="navbar">
     <li><a href="#welcome-section">Welcome</a></li>
 <li><a href="#projects">Projects</a></li> 

 <div id="welcome-section">
  <h1>welcome section</h1>
  <link rel="stylesheet" href="styles.css">

<project id="projects">
  <div class="project-tile"><a href="">Build a documentaion page</a></li></div>
<footer><a id="profile-link" target="_blank" href="">profile page</a></footer>

/* file: styles.css */

#navbar {
position: fixed;
#welcome-section {
height: 100vh;  

@media (max-width: 720px) {
body {
  background-color: pink;

  **Your browser information:**

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

Challenge: Build a Personal Portfolio Webpage

Link to the challenge:

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