Hi, I’m having a hard time adding the HTML5 validation to my code, particularly for the email, name and number. What does this HTML5 validation entail other than adding the “required” in the ? How do you require a field to be text-specific vs. number-specific?
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 ability to read and comprehend error messages is a skill you’ll need to acquire as a developer. Ask questions on what you don’t understand.
The failing test message will answer this question.
Hope that helps.
EDIT: Remember, an id must be unique within the document. You have duplicate ids