I just finished my product landing page. It is passing all tests except for the one in which I have to link each item from the nav-bar to each corresponding part on the page. I don’t undersand why since the links are working properly.
Hello! I think you must have mistaken the instructions. You should add the
nav-link class to the
a element, not the
@aitanarus, someone has already given you the answer but in the future 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.)
When the test was failing the error message read;
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