# 2nd Project- Survey Form

**URL:** <https://forum.freecodecamp.org/t/2nd-project-survey-form/383131>\
**Category:** General\
**Created:** [May 3, 2020, 4:52pm UTC](https://forum.freecodecamp.org/t/2nd-project-survey-form/383131 "2020-05-03T16:52:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![X-rena](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/x-rena/32/145236_2.png) [@X-rena](https://forum.freecodecamp.org/u/X-rena)\
**Post date:** [May 3, 2020, 4:52pm UTC](https://forum.freecodecamp.org/t/2nd-project-survey-form/383131/1 "2020-05-03T16:52:34Z")

</div>

Hey everyone! Completed my survey form, but my page is not responsive. Any help would be appreciated. Should i use - meta name=“viewport” content=“width=device-width, initial-scale=1.0”\>- at the top of the html and thta would be it? or use media queries in css alone.

[https://codepen.io/x-rena/full/MWavNKz](https://codepen.io/x-rena/full/MWavNKz)

---

<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:** [May 3, 2020, 5:50pm UTC](https://forum.freecodecamp.org/t/2nd-project-survey-form/383131/2 "2020-05-03T17:50:21Z")

</div>

Hello there.

Just on the _“red errors”_, CodePen is complaining because the `input` element has no closing tag (outside of React).

In terms of responsiveness: Use `%` instead of `px` when you are defining your elements’ `width` property.

Hope this helps

---

<div class="post-metadata">

**Author:** ![X-rena](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/x-rena/32/145236_2.png) [@X-rena](https://forum.freecodecamp.org/u/X-rena)\
**Post date:** [May 3, 2020, 10:32pm UTC](https://forum.freecodecamp.org/t/2nd-project-survey-form/383131/3 "2020-05-03T22:32:47Z")

</div>

so are you saying I won’t be able to fix it if i’ve never used React?

I tried doing the 100% on media queries, but nothing.

---

<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:** [May 3, 2020, 11:43pm UTC](https://forum.freecodecamp.org/t/2nd-project-survey-form/383131/5 "2020-05-03T23:43:41Z")

</div>

@X-rena, `</input>` is not a valid HTML tag. The `input` tag is self-closing. Go back and revisit the lesson on creating radio buttons/checkboxes for a quick refresher.

Btw, I usually tell people to run HTML code through the [W3C validator](https://validator.w3.org/#validate_by_input). The validator provided by codepen misses a lot of errors.

- Since copy/paste from codepen you can ignore the first warning and first two errors.
- There are coding errors you need to address.

You didn’t ask but I’ll also mentions, don’t use `<br>` to force spacing. Use margin and/or padding in CSS.

---

<div class="post-metadata">

**Author:** ![Naomi](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/naomi/32/422181_2.png) [@Naomi](https://forum.freecodecamp.org/u/Naomi)\
**Post date:** [May 3, 2020, 11:45pm UTC](https://forum.freecodecamp.org/t/2nd-project-survey-form/383131/6 "2020-05-03T23:45:14Z")

</div>

Ah shoot, you’re right. Input tags are self closing. My bad! 😅

---

<div class="post-metadata">

**Author:** ![X-rena](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/x-rena/32/145236_2.png) [@X-rena](https://forum.freecodecamp.org/u/X-rena)\
**Post date:** [May 4, 2020, 12:10am UTC](https://forum.freecodecamp.org/t/2nd-project-survey-form/383131/7 "2020-05-04T00:10:15Z")

</div>

oh my, this is much appreciated. I added the link to my favorites to use from now on. I will make the necessary changes and will update you guys.

---

<div class="post-metadata">

**Author:** ![X-rena](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/x-rena/32/145236_2.png) [@X-rena](https://forum.freecodecamp.org/u/X-rena)\
**Post date:** [May 4, 2020, 2:58pm UTC](https://forum.freecodecamp.org/t/2nd-project-survey-form/383131/8 "2020-05-04T14:58:19Z")

</div>

Hello, I was able to correct the errors, but still having a bit of difficulty with my project being responsive

---

<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, 6:55pm UTC](https://forum.freecodecamp.org/t/2nd-project-survey-form/383131/9 "2021-06-01T18:55:47Z")

</div>

Closed on June 1, 2021, 6:55pm UTC


