# Survey Form using FlexBox - Feedback Please

**URL:** <https://forum.freecodecamp.org/t/survey-form-using-flexbox-feedback-please/197662>\
**Category:** I Built This\
**Created:** [June 7, 2018, 10:32am UTC](https://forum.freecodecamp.org/t/survey-form-using-flexbox-feedback-please/197662 "2018-06-07T10:32:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![aypdev](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@aypdev](https://forum.freecodecamp.org/u/aypdev)\
**Post date:** [June 7, 2018, 10:32am UTC](https://forum.freecodecamp.org/t/survey-form-using-flexbox-feedback-please/197662/1 "2018-06-07T10:32:30Z")

</div>

Hi

Please provide your valuable feedback. I have used “Flex Box” for survey form project.  
For screen \< 800px the layout changes to Column mode.

[Survey-Form using FlexBox](https://codepen.io/aypdev/full/LrRmqV/)

Thanks in anticipation.

---

<div class="post-metadata">

**Author:** ![anon18662199](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@anon18662199](https://forum.freecodecamp.org/u/anon18662199)\
**Post date:** [June 7, 2018, 11:07am UTC](https://forum.freecodecamp.org/t/survey-form-using-flexbox-feedback-please/197662/2 "2018-06-07T11:07:34Z")

</div>

Looks nice, very good on desktop, but broken in mobile! just check

 ![image](https://global.discourse-cdn.com/freecodecamp/original/3X/2/2/22fc90bd0ba51015900757c6e0293372dec3b18a.png)

Some good parts and progress I liked:

- You set placeholder for text fields, good!
- Size of text fields and combo boxes are same, very good.
- The second combobox comes with no any default value selected, very good. but the first combobox needs a simple fix to come like this too.

Fix you could apply very easy:

- Fix the first combo box default value. (like second combo box)
- Radio buttons and checkboxes have no any associated `label` tags, not good, fix it.
- Fix broken mobile layout

Fix mobile layout

Some suggestions:

- Use relative units instead of absolute units.
- Add horizontal line between each section of the form (example after and before radio button group, same for checkboxes, etc…)
- radio and checkbox buttons(by default, not your code) have some a little too much top margin, either add the same margin for the associated text(text at the left), or remove the margin top for radio/checkbox check:

default(current)  
 ![image](https://global.discourse-cdn.com/freecodecamp/original/3X/4/b/4bd213088cffdf0c296978f61b88a094987ea1f8.png)

to:  
 ![image](https://global.discourse-cdn.com/freecodecamp/original/3X/8/c/8c0d6d5e7f92d25de511db41870a21fbd3d3b6d5.png)

Keep going on great work, happy programming.

---

<div class="post-metadata">

**Author:** ![aypdev](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@aypdev](https://forum.freecodecamp.org/u/aypdev)\
**Post date:** [June 7, 2018, 12:03pm UTC](https://forum.freecodecamp.org/t/survey-form-using-flexbox-feedback-please/197662/3 "2018-06-07T12:03:56Z")

</div>

Thanks a lot for taking time to review my project. I will surely take your suggestions & will post another version.

Relative units in % instead of px ?? Or vw, vh etc ???  
Also how about boxes taking 100% width for smaller screens ???

should there be labels for each input radio and checkbox tag ???

---

<div class="post-metadata">

**Author:** ![anon18662199](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@anon18662199](https://forum.freecodecamp.org/u/anon18662199)\
**Post date:** [June 7, 2018, 12:17pm UTC](https://forum.freecodecamp.org/t/survey-form-using-flexbox-feedback-please/197662/4 "2018-06-07T12:17:54Z")

</div>

> [@aypdev](#):
>
> Relative units in % instead of px ?? Or vw, vh etc ???

Yes

> [@aypdev](#):
>
> Also how about boxes taking 100% width for smaller screens ???

Anything works! simple. Don’t take it very hard. but yes you are right, in mobile try to make it fill with its container/parent.

> [@aypdev](#):
>
> should there be labels for each input radio and checkbox tag ???

Any text you like to associate to a radio/checkbox should be hosted by a `label` tag next to each radio/checkbox element(common). Note you need also link the label tag to the related input element too.

Keep going on great work, happy programming

---

<div class="post-metadata">

**Author:** ![aypdev](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@aypdev](https://forum.freecodecamp.org/u/aypdev)\
**Post date:** [June 7, 2018, 12:58pm UTC](https://forum.freecodecamp.org/t/survey-form-using-flexbox-feedback-please/197662/5 "2018-06-07T12:58:41Z")

</div>

Hi

I have made the following changes suggested by you.

1. Using vw units for font-size now & controls now take up 100% width on smaller layouts.  
(does this fix the mobile layout problems ??)
2. Missing labels added.
3. Extra margin on radio buttons removed.
4. fixed default value of first drop down.  
5 horizontal rule added.

Please review.

---

<div class="post-metadata">

**Author:** ![anon18662199](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@anon18662199](https://forum.freecodecamp.org/u/anon18662199)\
**Post date:** [June 7, 2018, 1:39pm UTC](https://forum.freecodecamp.org/t/survey-form-using-flexbox-feedback-please/197662/6 "2018-06-07T13:39:47Z")

</div>

Good progress! very good.

You added the horizontal line, awesome, looks much better now.  
Applied and associated label for radio and checkboxes (but you forgot for “Not sure” radio, and “Challenges Challenges” checkbox, fix)

Okay, now let’s go for more updates.

It’s responsive now, but very bad, check:

 ![image](https://global.discourse-cdn.com/freecodecamp/original/3X/f/1/f10586babf1502f5c5921ba7449887a415ebeb72.png)

too much page content padding!  
Font-size is so small! (hint: not-setting the font-size in body will let the browser use the default size which is `1em` by default, fair)  
Input text are not center, and had a little too much space at right and left.  
In mobile, add more space between radio elements, and checkboxes, it’s hard to tap on one when they are so near each other.  
The text area at the end is also is not centered, has some margin at left, but not right!  
Add more space between combo box options, it’s hard to select correct dropdown-ed element  
For mobile, I suggest you remove the left, and right margin of body, also goes 100% width for the form to fit it with screen. Same remove the box-shadow, and border, something like following.

 ![image](https://global.discourse-cdn.com/freecodecamp/original/3X/4/b/4b66fe7fea6aa2cc942a3e2f9f58201fe30a9686.png)

Keep going on great work, happy programming

---

<div class="post-metadata">

**Author:** ![aypdev](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@aypdev](https://forum.freecodecamp.org/u/aypdev)\
**Post date:** [June 8, 2018, 6:52am UTC](https://forum.freecodecamp.org/t/survey-form-using-flexbox-feedback-please/197662/7 "2018-06-08T06:52:29Z")

</div>

Hi

Thanks so much for analyzing & providing feedback. I have again worked on the things you said. Please have a look at the changes version.

1. I couldn’t find how to add space between option elements of select tag.
2. I changed vw units to rem. [With vw units i assumed i need not do anything specially for other layouts as it would automatically scale the font.]

How quickly you are able to find issues with my page…like missing labels & mobile layout probs… are u using any tools for this ???

---

<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:49pm UTC](https://forum.freecodecamp.org/t/survey-form-using-flexbox-feedback-please/197662/8 "2021-06-01T13:49:21Z")

</div>

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


