I am currently on the technical documentation project of the responsive web design course and on running my code through the test suite i get the following error on line 10
(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".)
and also this assertion:
(There should be one .nav-link for every element with the class of "main-section", and every .nav-link should be within #navbar : expected 14 to equal 13 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 14 to equal 13)
I have tried my best to solve the errors but to no avail, i really would appreciate much needed help on this.
Link to the technical documentation codepen is:
Your main issues are:
- Not giving your anchor
a element a class of
- Not giving your REFERENCE section a class of
- Some syntax errors
CodePen has a built-in analyser tool. Use this to analyse your HTML.
Hope this helps
i have given my anchor a element an anchor tag and my reference section a class of main-section, still not solved.
about the syntax errors,can you point out a couple to me please
i have tried using the html analyzer tool but i can’t find an option for html analyzer under the html settings tab.
i have analysed my html and made the recommended changes but my original problem still persists
I just made some slight changes and the error 10 has been solved and i have a new error 4
Solved and thank you very much for all your help