bayer
1
hey guys,
i need help in deciphering the problem with my code…
i can succesfully click a nav-link button to take me to the specified section but when i test it my test fails…
similarly the test for … clicking the submit button for my email to go to a static page…
https://codepen.io/PaulBayer/pen/bGEwemY?editors=0110
Hello and welcome to the FCC community~!
Here is what I am seeing:
For this error, your elements with the
nav-link
class are the
<li>
elements, so the code is looking at those for an
href
instead of your
<a>
elements.
You need to give a
name
attribute to your
<input>
element with the
email
id.
Hope this helps!
1 Like
bayer
3
Thanks alot
i literally was almost pulling my hair out.