Plz Help Need to figure out 3 user stories

Can someone please proof my work, I need 3 more user stories but I’m unsure what is wrong with them.

Here is my code https://codepen.io/ItalianSewage/pen/ZEXxmpE

Hi @kayakennette,

Indeed, you have few user stories to correct. Let’s review this.

First one who gives you trouble:

Inside the form element, I am required to enter my name in a field with id=“name”. If I do not enter a name I will see an HTML5 validation error.

This is not respected into your code.

Your code:

<label for="name" id="name"> Name:</label>
<input id="name-label" type="text" name="name" placeholder="Please Enter Your Name" required> 

You put the id into the label tag. As the user story says, the id should be in the field where you enter your name.

Once this is fixed, you have one user story who doesn’t pass:

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”.

This user story wants you to have into the labels for the name, email and number the following ids:

  • id="name-label"
  • id="email-label"
  • id="number-label"

You have them, the issue is that for the email label you have two similar ids, and finally you don’t have text for the number label.

Your code:

<label for="number"  id="number-label"></label>

Hope it helps you!

@kayakennette, in the future when a user story fails you can 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 specific questions on what you don’t understand.

For instance the first full failing message says

Inside the form element, I am required to enter my name in a field with id="name". If I do not enter a name I will see an HTML5 validation error.
input field with id="name" should be a text field : expected undefined to equal 'text'
AssertionError: input field with id="name" should be a text field : expected undefined to equal 'text'