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

**URL:** <https://forum.freecodecamp.org/t/learn-html-forms-by-building-a-registration-form-step-35/656965>\
**Category:** Curriculum Help\
**Created:** [December 21, 2023, 2:50am UTC](https://forum.freecodecamp.org/t/learn-html-forms-by-building-a-registration-form-step-35/656965 "2023-12-21T02:50:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![terciathekgo](https://avatars.discourse-cdn.com/v4/letter/t/c6cbf5/32.png) [@terciathekgo](https://forum.freecodecamp.org/u/terciathekgo)\
**Post date:** [December 21, 2023, 2:50am UTC](https://forum.freecodecamp.org/t/learn-html-forms-by-building-a-registration-form-step-35/656965/1 "2023-12-21T02:50:37Z")

</div>

### Tell us what’s happening:

Nest the `select` element (with its `option` elements) within a `label` element with the text `How did you hear about us?` . The text should come before the `select` element.  
i dont know where my code goes wrong…please help

### 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'>
      <fieldset>
        <label for="first-name">Enter Your First Name: <input id="first-name" type="text" required /></label>
        <label for="last-name">Enter Your Last Name: <input id="last-name" type="text" required /></label>
        <label for="email">Enter Your Email: <input id="email" type="email" required /></label>
        <label for="new-password">Create a New Password: <input id="new-password" type="password" pattern="[a-z0-5]{8,}" required /></label>
      </fieldset>
      <fieldset>
        <legend>Account type (required)</legend>
        <label for="personal-account"><input id="personal-account" type="radio" name="account-type" checked /> Personal</label>
        <label for="business-account"><input id="business-account" type="radio" name="account-type" /> Business</label>
      </fieldset>

<!-- User Editable Region -->

      <fieldset>
        <label>Upload a profile picture: <input type="file" /></label>
        <label>Input your age (years): <input type="number" min="13" max="120" />How did you hear about us?<select></select></label>
        <select>
          <option></option>
          <option></option>
          <option></option>
          <option></option>
          <option></option>
        </select>
      </fieldset>

```

### Your browser information:

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

### Challenge Information:

Learn HTML Forms by Building a Registration Form - Step 35

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

---

<div class="post-metadata">

**Author:** ![Chrs](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/chrs/32/345208_2.png) [@Chrs](https://forum.freecodecamp.org/u/Chrs)\
**Post date:** [December 21, 2023, 3:58am UTC](https://forum.freecodecamp.org/t/learn-html-forms-by-building-a-registration-form-step-35/656965/2 "2023-12-21T03:58:19Z")

</div>

you must create a unique label element before the select element. I hope you understand me, I’m using Google Translate

---

<div class="post-metadata">

**Author:** ![anon42932716](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@anon42932716](https://forum.freecodecamp.org/u/anon42932716)\
**Post date:** [December 21, 2023, 11:35am UTC](https://forum.freecodecamp.org/t/learn-html-forms-by-building-a-registration-form-step-35/656965/3 "2023-12-21T11:35:38Z")

</div>

Hello @terciathekgo !

As @Chrs has offered the guidance to enter a `label` element opening tag `above the select` with the provided text ` How did you hear about us?`

The `closing label tag` should be entered ` after the closing select tag`.

This should help you pass the step.

Please remember to check `Solution by @Chrs` as I am just adding a bit of clarification to the good guidance provided.

Keep up the good progress! 🌞

---

<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:** [June 20, 2024, 11:35pm UTC](https://forum.freecodecamp.org/t/learn-html-forms-by-building-a-registration-form-step-35/656965/4 "2024-06-20T23:35:58Z")

</div>

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