# Help with building a survey form

**URL:** <https://forum.freecodecamp.org/t/help-with-building-a-survey-form/423299>\
**Category:** I Built This\
**Created:** [September 29, 2020, 10:00pm UTC](https://forum.freecodecamp.org/t/help-with-building-a-survey-form/423299 "2020-09-29T22:00:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![seraph7](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/seraph7/32/134803_2.png) [@seraph7](https://forum.freecodecamp.org/u/seraph7)\
**Post date:** [September 29, 2020, 10:00pm UTC](https://forum.freecodecamp.org/t/help-with-building-a-survey-form/423299/1 "2020-09-29T22:00:47Z")

</div>

Hello all, first off I’d like to thank anyone who assists me in advance. This is my first time building projects with code and I am encountering a frustrating issue in regard to the completion of the “Survey Form” project. I have completed all of the required steps, except for one. I receive an error message on problem #14 which reads

" 14. Inside the form element, I can select several fields from a series of checkboxes, each of which must have a value attribute."

I completed this step, but I’m assuming I’m missing something pertinent. Here’s a link to my code:

> **[Fork Me! FCC: Test Suite Template](https://codepen.io/archang31s/pen/BaKeZpz)**
>
> ...

Thank you for your help.

-D

---

<div class="post-metadata">

**Author:** ![bbsmooth](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/bbsmooth/32/203556_2.png) [@bbsmooth](https://forum.freecodecamp.org/u/bbsmooth)\
**Post date:** [September 29, 2020, 10:02pm UTC](https://forum.freecodecamp.org/t/help-with-building-a-survey-form/423299/2 "2020-09-29T22:02:30Z")

</div>

I don’t see any checkboxes on your survey form. The error message is telling you this:

“There should be at least 2 checkboxes inside the form : expected 0 to be at least 2”

---

<div class="post-metadata">

**Author:** ![Roma](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/roma/32/112899_2.png) [@Roma](https://forum.freecodecamp.org/u/Roma)\
**Post date:** [September 29, 2020, 10:12pm UTC](https://forum.freecodecamp.org/t/help-with-building-a-survey-form/423299/3 "2020-09-29T22:12:37Z")

</div>

You have typo’s @seraph7 . This is not the way to set something;

```auto
<input id="checkbox" type"checkbox" name="features" value="chrometip">
<label for "checkbox"> Chrome Tipped Mouthpiece-$25.00 </label>

```

How do you set an attribute? You did the `id` attribute correctly. But not the `type` or the `for` attributes.

Some add’l help, within codepen you can set the editor so it shows an error in your code by putting a red box around it.  
Go to your profile and click on “edit profile”  
In ‘settings’ click on “editor preferences”  
Chose ‘Dark Themes’ --\> ‘Oceanic Dark’

side notes: This, `</input>` is not a valid HTML tag. `input` is self-closing.  
Also, don’t use `<br>` to force line breaks or spacing. That’s what CSS is for.

---

<div class="post-metadata">

**Author:** ![seraph7](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/seraph7/32/134803_2.png) [@seraph7](https://forum.freecodecamp.org/u/seraph7)\
**Post date:** [September 30, 2020, 7:37pm UTC](https://forum.freecodecamp.org/t/help-with-building-a-survey-form/423299/4 "2020-09-30T19:37:40Z")

</div>

edit\*  
Nevermind. I figured it out. Thank you very much!  
Feeling a bit embarrassed but I got it!!!

---

<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, 1:10pm UTC](https://forum.freecodecamp.org/t/help-with-building-a-survey-form/423299/5 "2021-06-01T13:10:18Z")

</div>

Closed on June 1, 2021, 1:10pm UTC


