# Aprende formularios HTML construyendo un formulario de registro - Paso 18

**URL:** <https://forum.freecodecamp.org/t/aprende-formularios-html-construyendo-un-formulario-de-registro-paso-18/688664>\
**Category:** General\
**Tags:** español\
**Created:** [May 4, 2024, 9:07pm UTC](https://forum.freecodecamp.org/t/aprende-formularios-html-construyendo-un-formulario-de-registro-paso-18/688664 "2024-05-04T21:07:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ma53](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@Ma53](https://forum.freecodecamp.org/u/Ma53)\
**Post date:** [May 4, 2024, 9:07pm UTC](https://forum.freecodecamp.org/t/aprende-formularios-html-construyendo-un-formulario-de-registro-paso-18/688664/1 "2024-05-04T21:07:16Z")

</div>

### Tell us what’s happening:

no aparece y no puedo colocar el id según lo piden

### 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:<input id="first-name"> <input/></label>
        <label>Enter Your Last Name: <input id="last-name"><input /></label>
        <label>Enter Your Email: <input id="email"><input /></label>
        <label>Create a New Password: <input id="new-password"><input /></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:

El agente de usuario es: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36`

### Challenge Information:

Aprende formularios HTML construyendo un formulario de registro - Paso 18

> **[freeCodeCamp.org](https://www.freecodecamp.org/espanol/learn/2022/responsive-web-design/learn-html-forms-by-building-a-registration-form/step-18)**
>
> Aprende a programar, ¡GRATIS!

---

<div class="post-metadata">

**Author:** ![Teller](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/teller/32/412338_2.png) [@Teller](https://forum.freecodecamp.org/u/Teller)\
**Post date:** [May 5, 2024, 3:25am UTC](https://forum.freecodecamp.org/t/aprende-formularios-html-construyendo-un-formulario-de-registro-paso-18/688664/2 "2024-05-05T03:25:19Z")

</div>

Bienvenido al foro @Ma53

Elimine este elemento _input_ de cada elemento _label_.

> [@Ma53](#):
>
> `<input/>`

Luego agregue el atributo _for_ a cada elemento _label_.

Feliz codificación

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 7, 2025, 2:15pm UTC](https://forum.freecodecamp.org/t/aprende-formularios-html-construyendo-un-formulario-de-registro-paso-18/688664/3 "2025-01-07T14:15:57Z")

</div>


