Technical Documentation Page - Build a Technical Documentation Page

Tell us what’s happening:
Describe your issue in detail here.
Each .main-section should have an id that matches the text of its first child, having any spaces in the child’s text replaced with underscores (_ ) for the id’s.

i have try to minimize my text to pass this text but is not working

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>technical-documentation page</title>
    <link rel="stylesheet" href="styles.css">
</head>
  <body>
    <main id="main-doc">
      <section class="main-section" id="Introduction">
        <header>Introduction</header>
        </section>
      <section class="main-section" id="What_you should_already_know">
        <header>What you should already know</header>
        </section>
    <section id="JavaScript_and_Java" class="main-section">
        <header>JavaScript and Java</header>
        </section>
<section id="Hello_world" class="main-section">
        <header>Hello world</header>
        </section>
<section  id="Variables" class="main-section">
        <header>Variables</header>
        </section>
<section  id="Declaring_variables" class="main-section">
        <header>Declaring variables</header>
        </section>




    </main>

  </body>
</htm>
/* 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/107.0.0.0 Safari/537.36

Challenge: Technical Documentation Page - Build a Technical Documentation Page

Link to the challenge:

You are missing a underscore after What_you

1 Like

Thanks. problem solved

1 Like

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