Technical Documentation Page - Build a Technical Documentation Page

Tell us what’s happening:

I am stocked at media querry step, please help me out
Describe your issue in detail here.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Technical Documentation Page</title>
    <link rel="stylesheet" herf="styles.css">
  </head>
  <body>
    <nav id="navbar">
      <header>Intro</header>
      <a class="nav-link" href="#Text1">Text1</a>
      <a class="nav-link" href="#Text2">Text2</a>
      <a class="nav-link" href="#Text3">Text3</a>
      <a class="nav-link" href="#Text4">Text4</a>
      <a class="nav-link" href="#Text5">Text5</a>
    </nav>
    <main id="main-doc">
      <section id="Text1" class="main-section">
        <header>Text1</header>
        <p>JavaScript is a cross-platform, object-oriented scripting language. It is a small and lightweight language. Inside a host environment (for example, a web browser), JavaScript can be connected to the objects of its environment to provide programmatic control over them.</p>
        <p>JavaScript contains a standard library of objects, such as Array, Date, and Math, and a core set of language elements such as operators, control structures, and statements. Core JavaScript can be extended for a variety of purposes by supplementing it with additional objects; for example:</p>
        <code></code>
        <li>Client-side JavaScript extends the core language by supplying objects to control a browser and its Document Object Model (DOM). For example, client-side extensions allow an application to place elements on an HTML form and respond to user events such as mouse clicks, form input, and page navigation.</li>
      </section>
      <section id="Text2" class="main-section">
        <header>Text2</header>
        <p>JavaScript and Java are similar in some ways but fundamentally different in some others. The JavaScript language resembles Java but does not have Java's static typing and strong type checking. JavaScript follows most Java expression syntax, naming conventions and basic control-flow constructs which was the reason why it was renamed from LiveScript to JavaScript.</p>
        <p>In contrast to Java's compile-time system of classes built by declarations, JavaScript supports a runtime system based on a small number of data types representing numeric, Boolean, and string values. JavaScript has a prototype-based object model instead of the more common class-based object model. The prototype-based model provides dynamic inheritance; that is, what is inherited can vary for individual objects. JavaScript also supports functions without any special declarative requirements. Functions can be properties of objects, executing as loosely typed methods.</p>
        <code></code>
        <li></li>
      </section>
      <section id="Text3" class="main-section">
        <header>Text3</header>
        <p></p>
        <p></p>
        <code></code>
        <li></li>
      </section>
      <section id="Text4" class="main-section">
        <header>Text4</header>
        <p></p>
        <p></p>
        <code></code>
        <li></li>
      </section>
      <section id="Text5" class="main-section">
        <header>Text5</header>
        <p></p>
        <p></p>
        <code></code>
        <li></li>
      </section>
    </main>
  </body>
</html>
/* file: styles.css */
* {
  box-sizing: border-box;
}

@media  (max-width: 600px) {
            main {
                padding: 10px;
            }
        }

Your browser information:

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

Challenge Information:

Technical Documentation Page - Build a Technical Documentation Page

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Hi!

The devil in the detail:

Spot the typo!
If you correct it, you’ll pass.