I have 2 problems left to go on my project landing page: I can see an image within the #header element with a corresponding id=“header-img”
And When I click a nav-link button in the nav element. I am taken to corresponding section of landing page.
I have stared at my code for so long that I need a 2nd set of eyes to tell me where I have messed up.
@TiMeraN8uT, 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 first failing message says;
I can see an image within the #header element with a corresponding id="header-img". A company logo would make a good image here.
#header-img is not a child of #header element : expected 0 to equal 1
AssertionError: #header-img is not a child of #header element : expected 0 to equal 1
Look at your code. You have two closing header tags. Only the first one is valid so .header-img is not within the header element.
Btw, you have some open elements in just the beginning of your code.
The second 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.'
The .nav-link with href="#abut-anchor" is not linked to a corresponding element on the page : expected null to not equal null
AssertionError: The .nav-link with href="#abut-anchor" is not linked to a corresponding element on the page : expected null to not equal null