Hey people and aliens! How are you doing? I made this page a few months ago before moving to a house in another state and this whole thing about the virus happening. So I went back to my studies this week, and although I’m still figuring out how to make this page responsive I came across an error in the free code camp test: “5. When I click a .nav-link button in the nav element, I am taken to the corresponding section of the landing page.” but I don’t see how this error would be possible… Can someone help me? (and would it be bad to apply the page on the site without being responsive?) Thanks for your time!
Provide your HTML and CSS.
The error 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
You have this which makes the test fail;
Change that to be an
id instead of a
class or give it a diff className
As an aside, don’t use
<br> to force line breaks…or spacing. Use CSS