Tech Doc Page - User Story #4

I can’t seem to find the source of the error - User Story #4 :

Each section element with the class of main-section should also have an id that corresponds with the text of each header contained within it. Any spaces should be replaced with underscores (e.g. The section that contains the header “JavaScript and Java” should have a corresponding id="JavaScript_and_Java" ).

code:

I checked the innerText on the headers elements and as far as i can tell they all should match the ids.

Any ideas on what may be causing the error?

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0

Challenge: Build a Technical Documentation Page

Link to the challenge:

Read all of the red error message. It is telling you exactly which one is not passing. Hint: it’s a typo.

<section class="main-section" id="What_you_shoud_already_know">
        <header class="section-title">What you should already know</header>
</section >

shoud → wrong dictation

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