Technical Documentation User story 4

Hi folks

I would appreciate some help with the user story as follows:

“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")”

And here’s how I coded it:

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

Am I missing anything or do I have to change anything on the code?

Challenge: Build a Technical Documentation Page

Link to the challenge:

Hi @yogiyiorgos ,

You’re only sharing code of one section. But, how about the other sections ?

Please check all the other sections carefully.

Hi @spark07

I had a typo, just found it :slight_smile:

1 Like

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