Having trouble with the HTML validation error in the Survey

Hello,

Please help. This error is driving me crazy, when I run the test it keeps saying: " 6. If I enter an email that is not formatted correctly, I will see an HTML5 validation error."

I don’t know whats wrong with my code. :confused:

Here is my code
https://codepen.io/carlaicd/pen/wZgrPr

1 Like

The input field is for entering a email address. You are setting the input type to text when it should be email. That is what the test is expecting.

Input fields can be a lot of different types. text, email, number, date, etc.

7 Likes

Omg Silly me, thank you so much!

1 Like