Why am I still failing these user stories?

Why am I still failing these user stories?


I am creating my product landing page and I am pretty sure I have completed user story 5 and 12 but why am I still failing them in the test??

This is my project: https://codepen.io/bookworm0618/pen/wxojZQ


User Story #4: I can see at least three clickable elements inside the nav element, each with the class nav-link.

and you have:

      <li class="nav-link"><a href="#about-us">About Us</a></li>

It says that the “clickable element” must have the class. The a tag is the clickable element, not the li.

On the second one, the error text from the test suite says:

… The #email input should have a name attribute : expected false to equal true

This is not explicit in the user stories, but is good practice and was probably covered in the curriculum.

When I move those classnames to the the appropriate place, and add a name attribute of “email” to your email input, it passes.


Thank you so much!!! :hugs: