I am failing tests 10, 12 and 13 on my technical documentation page and I’m not sure where the errors are coming from. Here is a link to my codepen project.
When a test fails you can click the red button to see which test(s) are failing and text to help you correct the issue.
- Read the entire failing message. Not just the first line.
For instance, the first failing message says;
Additionally, the navbar should contain link (<a>) elements with the class of "nav-link". There should be one for every element with the class "main-section".
There should be one .nav-link for every element with the class of "main-section", and every .nav-link should be within #navbar : expected 12 to equal 6
AssertionError: There should be one .nav-link for every element with the class of "main-section", and every .nav-link should be within #navbar : expected 12 to equal 6
Why do you have 12 when there’s 6 .main-section
?
You can go through the rest of them as needed.
Hope this helps.
Thank you for your help! I’m not sure why I created div elements with the same class name but getting rid of them fixed the issue! Thanks again