# Learn HTML Forms by Building a Registration Form - Step 18

**URL:** <https://forum.freecodecamp.org/t/learn-html-forms-by-building-a-registration-form-step-18/635503>\
**Category:** Curriculum Help\
**Tags:** html, css\
**Created:** [September 5, 2023, 1:41pm UTC](https://forum.freecodecamp.org/t/learn-html-forms-by-building-a-registration-form-step-18/635503 "2023-09-05T13:41:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jake.garland.johnson](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@jake.garland.johnson](https://forum.freecodecamp.org/u/jake.garland.johnson)\
**Post date:** [September 5, 2023, 1:41pm UTC](https://forum.freecodecamp.org/t/learn-html-forms-by-building-a-registration-form-step-18/635503/1 "2023-09-05T13:41:01Z")

</div>

**Tell us what’s happening:**  
Describe your issue in detail here.  
I do not understand what is wrong here! I have done everything the instructions have stated.

**Your code so far**

```html
<!-- 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 method="post" action='https://register-demo.freecodecamp.org'>

<!-- User Editable Region -->

      <fieldset>
        <label>Enter Your First Name: <for='first-name'><input id='first-name' /></label>
        <label>Enter Your Last Name: <input id='last-name' /></label>
        <label>Enter Your Email: <input id='email' /></label>
        <label>Create a New Password: <input id='new-password' /></label>
      </fieldset>

<!-- User Editable Region -->

      <fieldset></fieldset>
      <fieldset></fieldset>
    </form>
  </body>
</html>

```

```css
/* 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 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36`

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

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-forms-by-building-a-registration-form/step-18)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![diomed](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/diomed/32/6810_2.png) [@diomed](https://forum.freecodecamp.org/u/diomed)\
**Post date:** [September 5, 2023, 1:49pm UTC](https://forum.freecodecamp.org/t/learn-html-forms-by-building-a-registration-form-step-18/635503/2 "2023-09-05T13:49:17Z")

</div>

you didnt do everything.

you skipped first sentence of the task which said to connect label and input elements by using `for` atribute.

---

<div class="post-metadata">

**Author:** ![jake.garland.johnson](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@jake.garland.johnson](https://forum.freecodecamp.org/u/jake.garland.johnson)\
**Post date:** [September 5, 2023, 4:07pm UTC](https://forum.freecodecamp.org/t/learn-html-forms-by-building-a-registration-form-step-18/635503/3 "2023-09-05T16:07:44Z")

</div>

I do not understand what it means

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [March 6, 2024, 4:08am UTC](https://forum.freecodecamp.org/t/learn-html-forms-by-building-a-registration-form-step-18/635503/4 "2024-03-06T04:08:33Z")

</div>

Closed on March 6, 2024, 4:08am UTC

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