Technical Documentation Page - Build a Technical Documentation Page

Can you please check with this error Your Technical Documentation project should use at least one media query.

Your code so far

<!-- file: index.html -->
<!-- file: index.html -->
<!DOCTYPE html>
<html>
<head>
<link rel="preload" href="styles.css" >
</head>
<meta charset="UTF-8">
<meta name="website" content="Technical Documentation Page">
<title>Technical Documentation Page</title>

<style>

</style>


<body class="body">

<nav id="navbar">
<header>JS Documentation</header>
<a class="nav-link" href="#introduction">Introduction</a>
<a class="nav-link" href="#what_we_know">What We Know</a>
<a class="nav-link" href="#javascript_and_java">JavaScript and Java</a>
<a class="nav-link" href="#hello_world">Hello World</a>
<a class="nav-link" href="#the_variables">The Variables</a>
</nav>

<main id="main-doc">

<section class="main-section" id="introduction">
<header>Introduction</header>
<p><code></code></p>
<p><code></code></p>
</section>

<section class="main-section" id="what_we_know">
<header>What We Know</header>
<p></p>
<p><code></code></p>

</section>

<section class="main-section" id="javascript_and_java">
<header>JavaScript and Java</header>
<p></p>
<p><code></code></p>
</section>

<section class="main-section" id="hello_world">
<header>Hello World</header>
<p><code></code></p>
<p></p>
<ol>
<li></li>
<li></li>
</ol>
</section>

<section class="main-section" id="the_variables">
<header>The Variables</header>
<p></p>
<p></p>
<ol>
<li></li>
<li></li>
<li></li>
</ol>
</section>

</main>

</body>
</html>
/* file: styles.css */

Your browser information:

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

Challenge Information:

Technical Documentation Page - Build a Technical Documentation Page

The CSS file you provided is completely empty, you have to use one media query to make it pass the test. something like this

@media(min-width: 700px) {
   div {
       color: red;
   }
}

Note that this is just an example to demonstrate how to use media queries, if you would like to know more check out this video

1 Like

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