Technical Documentation Page1

Technical Documentation Page1
0

Tell us what’s happening:

I have problem with these below two test cases. Please help me out. Thanks in advance

  1. the #main-doc ( ) element, I can see several elements, each with a class of “main-section”. There should be a minimum of 5.
  2. When I click on a navbar element, the page should navigate to the corresponding section of the “main-doc” element (e.g. If I click on a “nav-link” element that contains the text “Hello world”, the page navigates to a element that has that id and contains the corresponding .

Your code so far
Here is my code in the below link.
https://codepen.io/nohitha-reddy/pen/OpwRPK

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-projects/build-a-technical-documentation-page

You’re missing a ‘n’ in section tag for the third section.
For the navbar, to navigate to each part you need to add the ‘#’ before the id name like ‘html_editors’ become ‘#html_editors