Tell us what’s happening:
I have problem with these below two test cases. Please help me out. Thanks in advance
- the #main-doc ( ) element, I can see several elements, each with a class of “main-section”. There should be a minimum of 5.
- 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.
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: