# Survey Form Project Label / Divclass Confusion

**URL:** <https://forum.freecodecamp.org/t/survey-form-project-label-divclass-confusion/369644>\
**Category:** General\
**Created:** [April 7, 2020, 10:05pm UTC](https://forum.freecodecamp.org/t/survey-form-project-label-divclass-confusion/369644 "2020-04-07T22:05:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![operatorsix](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/operatorsix/32/141458_2.png) [@operatorsix](https://forum.freecodecamp.org/u/operatorsix)\
**Post date:** [April 7, 2020, 10:05pm UTC](https://forum.freecodecamp.org/t/survey-form-project-label-divclass-confusion/369644/1 "2020-04-07T22:05:58Z")

</div>

Hello FCC Community,

I recently got through the HTML/CSS curriculum over the past month and I’m very excited to do the projects. However, on the second project I am just getting overwhelmed. I’m not sure how I am supposed to use labels in the form and use divclasses? I have tried several times and restarted, looked everything up, and am just stressing.

Would anybody point me in the right direction? I apologize if this is covered in the curriculum although I went back and looked for it and couldn’t find it. I began to question my existence so I figured I would ask, go for a run, and come back to it 🙂

Thank you!

```auto
<h1 id="title">Client Questionnaire</h1>
<div>
  <p id="description">Please fill out this client questionnaire in its entirety.</p>

<form id="survey-form">
  <label for
<label for="name">Name
  <br> <input id="name" type="text" placeholder="Enter your name" required>
  </label>
  <br>
  Email
 <label for="email-label">

  <br>
  <input id="email" type="email" placeholder="Enter your Email" required>
  </label>
  <br>
  Age (Optional)
  <label for="number-label">
   
  <br>
  <input id="Number" type="number" placeholder="Age" min="18" max="125">
         </label>
         </form>
        <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

```

---

<div class="post-metadata">

**Author:** ![Koboltz](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/koboltz/32/141455_2.png) [@Koboltz](https://forum.freecodecamp.org/u/Koboltz)\
**Post date:** [April 7, 2020, 10:12pm UTC](https://forum.freecodecamp.org/t/survey-form-project-label-divclass-confusion/369644/2 "2020-04-07T22:12:15Z")

</div>

Not sure how much this will help but I can give you the link to my solution to this project if you want to see how mine looked 😃

---

<div class="post-metadata">

**Author:** ![Sky020](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/sky020/32/128093_2.png) [@Sky020](https://forum.freecodecamp.org/u/Sky020)\
**Post date:** [April 7, 2020, 10:23pm UTC](https://forum.freecodecamp.org/t/survey-form-project-label-divclass-confusion/369644/3 "2020-04-07T22:23:28Z")

</div>

Welcome, opertorsix.

Here are some relevant lessons:

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/use-the-value-attribute-with-radio-buttons-and-checkboxes)**
>
> Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.

  

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/nest-many-elements-within-a-single-div-element)**
>
> Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.

  

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design/applied-accessibility/improve-form-field-accessibility-with-the-label-element)**
>
> Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.

If you ever need some boilerplate code [w3schools](https://www.w3schools.com/html/html_forms.asp) is an excellent resource to get started.

Hope this helps

---

<div class="post-metadata">

**Author:** ![operatorsix](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/operatorsix/32/141458_2.png) [@operatorsix](https://forum.freecodecamp.org/u/operatorsix)\
**Post date:** [April 8, 2020, 2:10am UTC](https://forum.freecodecamp.org/t/survey-form-project-label-divclass-confusion/369644/4 "2020-04-08T02:10:53Z")

</div>

Thank you very much, Sky. I will definitely look at all of these and try to understand it better.

---

<div class="post-metadata">

**Author:** ![operatorsix](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/operatorsix/32/141458_2.png) [@operatorsix](https://forum.freecodecamp.org/u/operatorsix)\
**Post date:** [April 8, 2020, 2:11am UTC](https://forum.freecodecamp.org/t/survey-form-project-label-divclass-confusion/369644/5 "2020-04-08T02:11:37Z")

</div>

Thank you Koboltz, I think that would. I’ve seen a few online but the more I see different solutions, the more I understand how the code works.

---

<div class="post-metadata">

**Author:** ![Koboltz](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/koboltz/32/141455_2.png) [@Koboltz](https://forum.freecodecamp.org/u/Koboltz)\
**Post date:** [April 8, 2020, 6:38am UTC](https://forum.freecodecamp.org/t/survey-form-project-label-divclass-confusion/369644/6 "2020-04-08T06:38:14Z")

</div>

Here it is: [my survey form](https://codepen.io/koboltz/pen/YzXbQVM)  
Good luck 😊

---

<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:** [June 1, 2021, 7:00pm UTC](https://forum.freecodecamp.org/t/survey-form-project-label-divclass-confusion/369644/7 "2021-06-01T19:00:01Z")

</div>

Closed on June 1, 2021, 7:00pm UTC


