how to number validation using html 5
read che error message in the test suite, it may help you get it
10. For the name, email, and number input fields inside the form I can see corresponding labels that describe the purpose of each field with the following ids: id=“name-label”, id=“email-label”, and id=“number-label”.
not understood could anybody explain in simple way please.
@gunjan15697, 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.
You’ve only read the first line. The failing message says
For the name, email, and number input fields inside the form I can see corresponding labels that describe the purpose of each field with the following ids: id="name-label", id="email-label", and id="number-label". #name-label should be a <label> element : expected 'LABLE' to equal 'LABEL' AssertionError: #name-label should be a <label> element : expected 'LABLE' to equal 'LABEL'
On a side note,
</input>is not valid HTML5. The
inputelement is self closing
- All your styling should be external. Do not use in-line styling. Everything between the
styletags should be in codepen’s CSS editor. Get rid of the
- Codepen provides the boilerplate for you. It only expects the code you’d put within the
bodyelement in the HTML editor. (No need to include the
bodytags). For anything you want to add to the
<head>element click on the ‘Settings’ button, then HTML and add it into the ‘Stuff for <head>’ box.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.