Technical Documentation Page - Build a Technical Documentation Page

Tell us what’s happening:
The challenge keep asking me to have at least 5 descendants elements below .main-section. However, My codes always showing more 5 descendants. I have no clue . is something wrong or error with the website?
Your code so far

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

<section class="main-section" id="JavaScript_and_Java">
        <header>JavaScript and Java</header>
        
        <p>how to learn?</p>
        <p>Where to learn?</p>

        <!-- 3. Unordered list element -->
        <ul>
          <!-- 4. List items -->
          <li>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.</li>
          <li>JavaScript is a very free-form language compared to Java. You do not have to declare all variables, classes, and methods. You do not have to be concerned with whether methods are public, private, or protected, and you do not have to implement interfaces. Variables, parameters, and function return types are not explicitly typed.</li>
          
        </ul>
        <!-- 5. Anchor element (link) -->
        <a href="https://www.google.com/search?q=java+logo&rlz=1C5MACD_enUS1057US1057&oq=java+logo&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQABiABDIHCAIQABiABDIHCAMQABiABDIHCAQQABiABDIHCAUQABiABDIHCAYQABiABDIHCAcQABiABDIHCAgQABiABDIHCAkQABiABNIBCDI4MzJqMGo3qAIAsAIA&sourceid=chrome&ie=UTF-8#vhid=6YsbFDSVEi3VJM&vssid=l">Learn more</a>
        <input type="radio">
        
      </section>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36

Challenge: Technical Documentation Page - Build a Technical Documentation Page

Link to the challenge:

Are you referring to this test?

“You should have at least five .main-section elements that are descendants of #main-doc.”

That means you need five section elements (each one having the class main-section within your main element.

If you are referring to a different test the please tell us the exact test.

Also, you need to paste all of your HTML in here so we can see everything.

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