Learn HTML Forms by Building a Registration Form - Step 14

please i need your help here guys thanks.

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

<!-- User Editable Region -->

    <form method="post" action='https://register-demo.freecodecamp.org'>
      <fieldset>
      <label for="name">Name</label>
      <label for="email"></label>
      <label for="password"></label>
      </fieldset><label<label<label<label</label>
      <fieldset></fieldset>
      <fieldset></fieldset>
    </form>

<!-- User Editable Region -->

  </body>
</html>
/* file: styles.css */
body {
  width: 100%;
  height: 100vh;
  margin: 0;
  background-color: #1b1b32;
  color: #f5f6f7;
}

Your browser information:

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

Challenge Information:

Learn HTML Forms by Building a Registration Form - Step 14

You need label opening and closing tags.
Example

<label></label>

You need to nest four label elements in your first fieldset.
Right now the opening and closing tags are a jumble.
Try having each label element on a separate line.

Hello!

</fieldset><label<label<label<label</label>

Try removing all of the labels after the closing fieldset element.

Then

<fieldset>
      <label for="name">Name</label>
      <label for="email"></label>
      <label for="password"></label>
      </fieldset>

In this fieldset, add another label element. You don’t need to add anything inside.

1 Like

For step 14 you need four empty label tags.
You modified your challenge. Reset and try to add four label tags. Remember label tag need closing tag.
@Sypone

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