Learn HTML Forms by Building a Registration Form - Step 14

Tell us what’s happening:
I already tried to place the label tags within each fieldset, place the four within a single fieldt but I don’t quite understand help as it should be, I need it please! :slight_smile: (English from google translator because i knew working with their language)

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

      <fieldset>
        <label for="email">email</label>
      </fieldset>

      <fieldset>
        <label for="password">password</label>
      </fieldset>

      <fieldset>
        <label></label>
      </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/114.0.0.0 Safari/537.36

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

Link to the challenge:

The instruction: " Start by adding four label elements to the first fieldset"

You have added one label element to four fieldset elements.

1 Like
  <fieldset>
    <label for="name">name</label>
    <label for="email">email</label>
    <label for="password">password</label>
  </fieldset>

  <fieldset>
  </fieldset>

  <fieldset>
  </fieldset>

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

Like this? i ready trying but i don’t understand 100%

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

yep, was like this jajajaj, thank you my friend !

1 Like

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