Learn HTML Forms by Building a Registration Form - Step 17

what did I do wrong here? I mean, I have for in label then id on input , it should be passed right?

My code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

Challenge: Learn HTML Forms by Building a Registration Form - Step 17

Link to the challenge:

The step didn’t ask for the for element and id element

This is the only instruction on step 17

Nest an input element within each label . Be sure to add each input after the label text, and include a space after the colon.

Unless you are on step 18

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.