Problem with Product Page / Test-suite

Hello everyone!

I am having problems with the inbuilt Testsuite,

its gives 2 errors:

  • “The Navbar should be on top of the viewport.”
  • "“when i am clicking on the Navbar-links, i am coming to the respective section”

This seems to be the case and the “analyize HTML” function gives no errors,

This is the link to my project:

who can tell me whats the problem ?

Thanks and Regards,
Marcel

Your navbar styling must be similar to:

#nav-bar {
  width: 100vw;
  position: fixed;
  padding-bottom: 10px;
  background-color: white;
}

As for the links you should apply the class="nav-link" to <a class="nav-link"> not the <li> and you should pass all tests.

thank you very much @sorinr , that solved my problems.