FCC project- Technical doc page

Hey there,

I have troubles with tech. doc. page project.

  1. I couldn’t figure out what I did wrong with user story number 10. “Additionally, the navbar should contain link () elements with the class of “nav-link”. There should be one for every element with the class “main-section”.”

  2. for the media max-width: 500px, adjustments for navbar and header don’t seem to work.

The link for codepen: https://codepen.io/merv-e/pen/MWogozQ?editors=1100

I would be really glad if someone could help me with these issues.

Read the error message closely:

“There should be one .nav-link for every element with the class of “main-section”, and every .nav-link should be within #navbar : expected 11 to equal 10”

That means the tests were expecting to find 10 nav links but you have 11. So there is something off between the number of nav links you have and the number of sections in the main content. User your browser’s dev tools inspector to look at all the section tags. It shouldn’t take you too long to figure out where the problem is.

Thank you very much for your answer. It was a very simple thing that I couldn’t see.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.