# FCC survey form

**URL:** <https://forum.freecodecamp.org/t/fcc-survey-form/173303>\
**Category:** I Built This\
**Created:** [February 7, 2018, 12:27pm UTC](https://forum.freecodecamp.org/t/fcc-survey-form/173303 "2018-02-07T12:27:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![HaiCia](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/haicia/32/75113_2.png) [@HaiCia](https://forum.freecodecamp.org/u/HaiCia)\
**Post date:** [February 7, 2018, 12:27pm UTC](https://forum.freecodecamp.org/t/fcc-survey-form/173303/1 "2018-02-07T12:27:34Z")

</div>

> **[FCC survey form](https://codepen.io/Haicia/full/ypEwXg/)**
>
> ...

my survey form ready for feedback.

---

<div class="post-metadata">

**Author:** ![camper](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/camper/32/67027_2.png) [@camper](https://forum.freecodecamp.org/u/camper)\
**Post date:** [February 12, 2018, 3:58am UTC](https://forum.freecodecamp.org/t/fcc-survey-form/173303/2 "2018-02-12T03:58:57Z")

</div>

@HaiCia As far as an HTML form goes for desktop/laptop, fully able users, this is good work. You’ve got all of the form elements implemented and visible. All of the fCC tests pass. I like that you’re using Flexbox! 🌟 However, you may want to fix some of the accessibility issues.

- **Missing Form Label** : When I run your code through the [Web Accessibility Evaluation Tool (WAVE)](https://wave.webaim.org/), I see 16 `Missing form label` errors. According to WAVE:

- **Orphaned Form Label** : This alert happens when a form label exists but is not correctly associated with a form control. I see six of these errors.

- **Fieldset Missing Legend** : There are six instances of fieldsets without legends in the code. I think some of the label errors will be resolved by adding `legend` elements to your `fieldsets`. MDN has a good section on fieldsets and legends in the [How to Structure an HTML Form](https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/How_to_structure_an_HTML_form#The_%3Cfieldset%3E_and_%3Clegend%3E_elements) post.

- **HTML Validation Errors** : There are a bunch of validation errors when I paste the code into the [W3C HTML Validator](https://validator.w3.org/nu/#textarea). Most of these are related to the above form issues, but you may want to look at them closely to fix any other errors that may be present.

- **Overqualified CSS Selectors** : There are a couple of CSS selectors that are more specific than they need to be, `header h1` and `label.left`. In both cases, it should be possible to use `h1` and `.left` respectively. Even though using qualified selectors is valid CSS, it limits the portability of those selectors if needed. I find the [cssguidelin.es section on portability](https://cssguidelin.es/#portability) to be a helpful reference regarding qualified selectors.

This is a good start so far! I think fixing the accessibility issues and working on the form’s responsiveness will make this a solid portfolio project. ☀

---

<div class="post-metadata">

**Author:** ![HaiCia](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/haicia/32/75113_2.png) [@HaiCia](https://forum.freecodecamp.org/u/HaiCia)\
**Post date:** [February 12, 2018, 4:18pm UTC](https://forum.freecodecamp.org/t/fcc-survey-form/173303/3 "2018-02-12T16:18:48Z")

</div>

@camper how do you check code with web accesibility?! Mine showing only CodePen alerts ☹ It is true I need t work at forms, I don’t understand how does it work, I think I need to have a look how forms look like on other side(this is on my to do list), then I will know where to use for, id label etc…

thank you for comment!

---

<div class="post-metadata">

**Author:** ![camper](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/camper/32/67027_2.png) [@camper](https://forum.freecodecamp.org/u/camper)\
**Post date:** [February 12, 2018, 7:55pm UTC](https://forum.freecodecamp.org/t/fcc-survey-form/173303/4 "2018-02-12T19:55:05Z")

</div>

> [@HaiCia](#):
>
> how do you check code with web accesibility?!

@HaiCia I use both of these browser extensions to test my projects and projects I’m reviewing as they sometimes point out different aspects of accessibility:

- [WAVE Chrome, Firefox, and Edge Extensions](http://wave.webaim.org/extension/)
- [axe: Accessibility Testing Tools and Software](https://www.deque.com/products/axe/)

**Edit** : Here’s a well-written, quick read on the basics of accessibility: [How to make sure your website works for all users - Current](http://current.org/2018/02/how-to-make-sure-your-website-works-for-all-users/). It’s not specific to forms, but it clearly shows the importance of making sure our code is as accessible as possible.

---

<div class="post-metadata">

**Author:** ![dianetrotter](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@dianetrotter](https://forum.freecodecamp.org/u/dianetrotter)\
**Post date:** [April 1, 2019, 12:01am UTC](https://forum.freecodecamp.org/t/fcc-survey-form/173303/5 "2019-04-01T00:01:21Z")

</div>

> **[rbNdKe](https://codepen.io/diane-nelson-trotter/pen/rbNdKe)**
>
> ...

Can someone tell me why DOB and email address are above name when they are not in that order in my coding?

---

<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:** [April 1, 2019, 12:34am UTC](https://forum.freecodecamp.org/t/fcc-survey-form/173303/6 "2019-04-01T00:34:08Z")

</div>

@dianetrotter Since your question is unique to you and not really related to this topic will you please open a new topic for your question

---

<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:** [February 6, 2021, 1:53pm UTC](https://forum.freecodecamp.org/t/fcc-survey-form/173303/7 "2021-02-06T13:53:53Z")

</div>

Closed on February 6, 2021, 1:53pm UTC


