Registration Form - Step 17

I’ve completed the project, it’s just this one step that looks incomplete… When I submit it it doesn’t accept it and says " The third label element should have a for attribute with a value of email ." It looks like step 18 has the same code… but I must be missing something. Neither Chrome or Safari takes it.

<fieldset>
  <label for="first-name">Enter Your First Name: <input id="first-name"/></label>
  <label for="last-name">Enter Your Last Name: <input id="last-name"/><label>
  <label for="email" >Enter Your Email: <input id="email"/></label>
  <label for="new-password">Create a New Password: <input id="new-password"/></label>
</fieldset>

hello, welcome to the forum.
If you can post a link to the step you’re on, then someone can test the code from their end as well to compare their experience to yours.

Hi @yoori1834

Welcome to the FCC Forum!

Pleaase check again the closing tag of the second label! There is a typo there.

Hope it helps <3

1 Like

Ahhh! Thank you! It worked!

1 Like