Form errors / placeholder attribute / e-mail input

My code is at 14/17 after the test .
The error message states that I am missing attributes that are already in the code .The errors are related to placeholder attribute and the e-mail input filed which needs to show error message when it is not filled correctly or filled at all . Kindly check it and let me know what needs to be adapted . Thank you !

https://codepen.io/Bambi93/pen/PoWJQxw

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36.

Challenge: Build a Survey Form

Link to the challenge:

Hi @lenajankovic12 ,

Check the id of the email address input. It should be “email” and not “e-mail”

Hope it helps.

3 Likes

you said Correctly my friend.
the id of the email address input is wrong. it should be “email” not “e-mail”.

when i do, it passes for me.

1 Like

Thank you ! I was super focused on thinking a line of code was missing so I oversaw the basic spelling mistake . Thank you once again :relaxed:

18.04.2021., u 10:27, korisnik RAJAT AGRAWAL via The freeCodeCamp Forum <freecodecamp@discoursemail.com> je napisao:

1 Like

welcome, my friend

ping me if u have any problem.

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