Landing page help,

the test is not passing i dont know why but i have done everything…he is the link
https://codepen.io/Abdallah-Hidir/pen/RwoKogw

@abdallahhidir83, when a test fails click the red button to see which test(s) are failing and text to help you correct the issue.

  • Be sure and read more than just the first line of the failing message. The ability to read and comprehend error messages is a skill you’ll need to acquire as a developer. Ask questions on what you don’t understand.

The first failing message says;

When I click a .nav-link button in the nav element, I am taken to the corresponding section of the landing page.'
Each .nav-link element should have an href attribute : expected false to equal true
AssertionError: Each .nav-link element should have an href attribute : expected false to equal true

Looking at your code the element that has an href attribute does not have a .nav-link. (It’s the other element that has it)

  1. You need a ‘nav-link’ class on “a” element but you’re using it on “li” element. (Moderator already mentioned this)
  2. Your “input” element for email missing the ‘name’ attribute.

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