> ## Each element with the class of “main-section” should also have an id comprised of the innerText contained within it, with underscores in place of spaces. The id may include special characters if there are special characters in the respective innerText. (e.g. The that contains the header, “JavaScript & Java”, should have a corresponding id=“JavaScript_&_Java”). > Blockquote
I’ve gone through all the section id’s and compared to the one in the nav and have not been able to figure out why this is failing.
Thanking you in advance for a fresh set of eyes.
Not absolutely sure about this, but I think you just need to change all your section IDs and instead of writing id=“introduction”, you should write id=“Introduction” to make the user story pass.
For the sake of the validation that did the trick, however in real life, I’d hope I wouldn’t have to change the title of my section to accommodate an auto grader or use a strange id that includes “…”.
I can see the benefit in adding an aria-labelledby that matches the actual title (in the h2) of the section for accessibility though, which the exercise did bring to light.