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.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
   <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title id="title">Technical Documentation Page</title>
<link rel="stylesheet" href="./styles.css"></link>
   <main id="main-doc">
     <section id="Introduction" class="main-section">
       <section id="What_you_should_already_know" class="main-section">
         <header>What you should already know</header>
         <section id="JavaScript_and_Java" class="main-section">
           <header>JavaScript and Java</header>
           <section id="Hello_World" class="main-section">
             <header>Hello World</header>
             <section id="Variables" class="main-section">
               <section id="Declaring_Variables" class="main-section">
               <header>Declaring Variables</header>
               <section id="Variable_Scope" class="main-section">
               <header>Variable Scope</header>
               <section id="Global_Variables" class="main-section">
               <header>Global Variables</header>
               <section id="Constants" class="main-section">
               <section id="Data_Types" class="main-section">
               <header>Data Types</header>
               <section id="If...Else_Statement" class="main-section">
               <header>IF...Else Statement</header>
               <section id="While_Statement" class="main-section">
               <header>While Satement</header>
               <section id="Function_Declarations" class="main-section">
               <header>Function Declarations</header>
               <section id="Reference" class="main-section">
/* 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/ Safari/537.36

Challenge: Technical Documentation Page - Build a Technical Documentation Page

Link to the challenge:

You have a couple of typos…

Check spelling and capitalisation carefully and you should spot the errors.

1 Like

WOW, I looked over this code a thousand times and did not see this. Thank you so much.

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