Technical Documentation Page #12

Hi everyone,

I am facing some difficulties regarding this project “Building a Technical Documentation Page”

In particularly:

  1. Each element with the class of nav-link should contain text that corresponds to the header text within each section (e.g. if you have a “Hello world” section/header, your navbar should have an element which contains the text “Hello world”)

“Check that these headers have corresponding .nav-link elements and be mindful of case! : WHAT IS PHILOSOPHY? : expected 1 to equal 0”

What does it mean “expected 1 to equal 0”?

Someone can help me?

Here a link to my page:

the tests match the headers with the links, and if there is any non matching, it gives a result higher than 0 - that’s why it says expected 1 to equal 0

Anyway, these don’t match:

    <li><a class="nav-link" href="#What_is_Philosophy"> What is Philosophy </a></li>   
   <header> What is Philosophy? 

punctuation counts

You may also want to pass your code in an html validator like this one:
The W3C Markup Validation Service, you have some errors that need fixing

Thank you very much! This link that you gave me is great, I didn´t know about it.

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