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: