Technical Documentation Page - Build a Technical Documentation Page

Tell us what’s happening:
Hello, I have problem with header part of code and get this massage:“Failed: None of your header elements should be empty.” I can’t find the solution??

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>Technical Documentation Page</title>
    <link href="css/style.css" rel="stylesheet">
    <main id="main-doc">
      <section class="main-section" id="Introduction">
      <section class="main-section" id="What_you_should_already_know">
      <header>What you should already know</header>
      <section class="main-section" id="JavaScript_and_Java">
      <header>JavaScript and Java</header>
      <section class="main-section" id="Hello_world">
      <header>Hello world</header>
      <section class="main-section" id="Variables">
      <section class="main-section" id="Declaring_variables" >
      <header>Declaring variables</header>
      <section class="main-section" id="Variable_scope">
      <header>Variable scope</header>
      <section class="main-section" id="Global_variables">
      <header>Global variables</header>
      <section class="main-section" id="Constants">
      <section class="main-section" id="Data_types">
      <header>Data types</header>
      <section class="main-section" id="If_else_statement">
      <header>If else statement</header>
/* file: styles.css */
.main-section header { visibility: hidden; height: 0; margin: -0.5rem; padding: 0; }

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:

Please 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!

I don’t think you want at header element here.

Yes, it’s true. I made mistake. Thank you so much!

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