"Technical Documentation project" media query issue

Hi.
I have “Your Technical Documentation project should use at least one media query” issue

But i’m already use <link rel="stylesheet" href="styles.css">
thanks in advance for your help

/* file: index.html */
<!DOCTYPE html>
<html>
<head>
  <title>Technical Documentation Page</title>
  <link rel="stylesheet" href="styles.css">
</head>
<body>
      <main id="main-doc">
        <nav id="navbar">
          <header>Brand Logo</header>
          <a class="nav-link" href="#main1">main1</a>
          <a class="nav-link" href="#main2">main2</a>
          <a class="nav-link" href="#main3">main3</a>
          <a class="nav-link" href="#main4">main4</a>
          <a class="nav-link" href="#main5">main5</a>
        </nav>
        <section class="main-section" id="main1">
          <header>main1</header>
          <p>paragraf1</p>
          <p>paragraf2</p>
          <code>code tag</code>
          <li></li>
        </section>
        <section class="main-section" id="main2">
          <header>main2</header>
          <p>paragraf3</p>
          <p>paragraf4</p>
          <code>code tag</code>
          <li></li>
        </section>
        <section class="main-section" id="main3">
          <header>main3</header>
          <p>paragraf5</p>
          <p>paragraf6</p>
          <code>code tag</code>
          <li></li>
        </section>
        <section class="main-section" id="main4">
          <header>main4</header>
          <p>paragraf7</p>
          <p>paragraf8</p>
          <code>code tag</code>
          <li></li>
        </section>
        <section class="main-section" id="main5">
          <header>main5</header>
          <p>paragraf9</p>
          <p>paragraf10</p>
          <code>code tag</code>
          <li></li>
        </section>
      </main>
</body>
</html>
/* file: styles.css */
.main-section{
  padding: 10px;
  color:red;
}
nav header{
margin-bottom:10px;
}
nav a{
padding:3px;
text-decoration: none;
color: #222;
text-transform: uppercase;
border: 1px solid #222;
transition: 400ms all;
}
nav a:hover{
background-color: black;
color: whitesmoke;
}
  **Your browser information:**

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

Challenge: Build a Technical Documentation Page

Link to the challenge:

Careful, a media query is one that uses @media in CSS for example @media screen and (min-width: 400px) {
Insert CSS selectors here that you want to have effect when screen width is 400px or wider
}

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