Step 15 Registration Form HTML-CSS Is Not Accepting the Answer

<form action='https://register-demo.freecodecamp.org'>
      <fieldset>
        <label for="firstName">Enter Your First Name: <input type="text" id="firstName"></label>
        <label for="lastName">Enter Your Last Name: <input type="text" id="lastName"></label>
        <label for="email">Enter Your Email: <input type="email" id="email"></label>
        <label for="password">Create a New Password: <input type="password" id="password"></label>
      </fieldset>

This is the code. It errors out even though I have done everything it requested.

===========

Test

Sorry, your code does not pass. Keep trying.

Hint

You should add the first input after the label text Enter Your First Name:, and include a space after the colon.

hello and welcome to fcc forum :slight_smile:

could you please also share that ‘step’ link here as well, thanks :slight_smile:

after your last id="…" you need a space then /> to close the input

<label>Enter Your First Name: <input type="text" id="First Name" />
        </label>
        <label>Enter Your Last Name: <input type="text" id="Last Name" />
        </label>
        <label>Enter Your Email: <input type="Email" id="Email" />
        </label>
        <label>Create a New Password: <input type="Password" id="Password" />
        </label>
      </fieldset>

I did just that and it did not go through.

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