Learn HTML Forms by Building a Registration Form - Step 16

As far as I can see this label below is correct but the input box shows up below the “Enter Your Email” text, I don’t know what else to do. HINT is also attached below.

/Enter Your Email: /

Hint

You should add the third input after the label text Enter Your Email:, and include a space after the colon.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Registration Form</title>
    <link rel="stylesheet" href="styles.css" />
  </head>
  <body>
    <h1>Registration Form</h1>
    <p>Please fill out this form with the required information</p>
    <form action='https://register-demo.freecodecamp.org'>
      <fieldset>
        <label>Enter Your First Name: <input/></label>
        <label>Enter Your Last Name: <input/></label>
        <label>Enter Your Email: <input/><label>
        <label>Create a New Password: <input/></label>
      </fieldset>
      <fieldset></fieldset>
      <fieldset></fieldset>
    </form>
  </body>
</html>
/* file: styles.css */
body {
  width: 100%;
  height: 100vh;
  margin: 0;
  background-color: #1b1b32;
  color: #f5f6f7;
}

label {
  display: block;
  margin: 0.5rem 0;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0

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

Link to the challenge:

try just typing <input>
as that is the correct way to write it when it is self-closing.

Just tried it but the same hint pops up.

can you restart and reset the code (force browser refresh with CTRL-F5 after) and then just type in those 4 inputs?
If that doesn’t work, please post the new code block again for me to try it on my end.

1 Like

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