Technical Documentation Page Program not approving my code

Tell us what’s happening:
Hi I have done Technical Documentation Page on Responsive Web Design but auto-checklists don’t approve my html.
My page is working fine though, I don’t know what are causing this… Can anyone help me??
The points I am missing:
*Each .main-section should have an id that matches the text of its first child, having any spaces in the child’s text replaced with underscores (_ ) for the id’s.

  • All of your .nav-link elements should be anchor (a) elements.

  • Failed:All of your .nav-link elements should be in the #navbar.

  • Failed:You should have the same number of .nav-link and .main-section elements.

I put my code on Code Sandbox:

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.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

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

Challenge: Build a Technical Documentation Page

Link to the challenge:

Have you clicked on every link in your nav menu to make sure it takes you to the appropriate section? I can tell you that at least one of them does not.

1 Like

Hi @bbsmooth, thank you so much for your feedback! I didn’t test all links in nav menu :sweat_smile: Thanks to you, I just passed the project!