# Help (Survey Project) -- Edit: My Third survey page

**URL:** <https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209>\
**Category:** I Built This\
**Created:** [June 9, 2020, 4:53pm UTC](https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209 "2020-06-09T16:53:16Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayhanisidici](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ayhanisidici/32/138532_2.png) [@ayhanisidici](https://forum.freecodecamp.org/u/ayhanisidici)\
**Post date:** [June 9, 2020, 4:53pm UTC](https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209/1 "2020-06-09T16:53:17Z")

</div>

Hey everyone,  
I finally completed my first “survey project”. Since it was my first survey page project, I did it with the help of freecodecamp; but… as you can see some problems I have in css (i guess)

Firstly, here is my link : [https://codepen.io/ayhanizmir/full/oNbjNmq](https://codepen.io/ayhanizmir/full/oNbjNmq)

* * *

Edit: Hello again everyone, after I completed first one, decided to make another page; because I felt that I need more practice… and here is my second page’s link:

Second Survey Page: [https://codepen.io/ayhanizmir/full/KKVVaKG](https://codepen.io/ayhanizmir/full/KKVVaKG)

* * *

**Edit: Hey guys, me again 😁 I wanted to make survey page last time. Actually I made very fast and easy; but I faced some problems…**

**Firstly: Here is my 3rd survey page: [https://codepen.io/ayhanizmir/full/ExPPJro](https://codepen.io/ayhanizmir/full/ExPPJro)**

\*\*Questions: \*\*  
**1) How can I place the radiobuttons to one below the other? As you can see in my page they are not in the same direction (vertical)**

**2) How can I separate radio buttons 2 or more column (for less space)**

**3) In every question (radio-button question) I want it’s not to accept without choice. I add required but it did not work. What sould I do?**

**4) In html part, after “question-5” they become colorless (just green and yellow) and when I press enter they go 1.5 line. Why?**

---

<div class="post-metadata">

**Author:** ![JohnJohn](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/johnjohn/32/135695_2.png) [@JohnJohn](https://forum.freecodecamp.org/u/JohnJohn)\
**Post date:** [June 10, 2020, 6:28am UTC](https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209/2 "2020-06-10T06:28:32Z")

</div>

Very good job on your first project.

1. Check your rule for `h1, p {}`. The left margin declaration is impacting all paragraphs
2. Add the follow CSS rule `label {display:block;}` to force them onto new lines
3. This is the same as #1. Change your `<p>` to a `<span>` and your footer will work like you desire.

Some other things.

- Check your ids again. Each one should be unique, but you have a couple repeats.
- `<input type="expenses"` \<— I’m pretty sure you meant =“text”. CodePen is a little lenient and will render your page even if the CSS, JS or HTML isn’t 100% correct, but you should always check it yourself.

**NOTE:** You have 2 more tests to pass, but they’re very simple and I’m sure you’ll be able to figure those out. If not, just post in this thread and one of us will help you out.

---

<div class="post-metadata">

**Author:** ![ayhanisidici](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ayhanisidici/32/138532_2.png) [@ayhanisidici](https://forum.freecodecamp.org/u/ayhanisidici)\
**Post date:** [June 10, 2020, 7:05am UTC](https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209/3 "2020-06-10T07:05:30Z")

</div>

Thank you very much  
I will edit it again with consideration to your advices.

---

<div class="post-metadata">

**Author:** ![ayhanisidici](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ayhanisidici/32/138532_2.png) [@ayhanisidici](https://forum.freecodecamp.org/u/ayhanisidici)\
**Post date:** [June 10, 2020, 2:43pm UTC](https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209/4 "2020-06-10T14:43:50Z")

</div>

Hello again,  
I just made second “Survey Page” and checked with script code. It seems 17/17 😅

Is there a place that we can make it more useful in CSS codes? Unwittingly (even if it doesn’t affect the look), maybe something I did a long way. I want to make myself more practical.

---

<div class="post-metadata">

**Author:** ![JohnJohn](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/johnjohn/32/135695_2.png) [@JohnJohn](https://forum.freecodecamp.org/u/JohnJohn)\
**Post date:** [June 10, 2020, 3:41pm UTC](https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209/5 "2020-06-10T15:41:36Z")

</div>

Nice job on your second page. Overall, your code looks good. Just two things.

- You forgot to close out your `<form>` element in your HTML
- This isn’t required AT ALL, but you could use shorthand to consolidate some of your rules (example below)

```auto
form {
  color: white;
  border-color: black;
  border-width: 0.09rem;
  border-style: solid;...}

```

can become

```auto
form {
  color: white;
  border: .09 rem solid black;..}

```

Good job!

---

<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:** [June 10, 2020, 11:33pm UTC](https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209/6 "2020-06-10T23:33:31Z")

</div>

They look okay @ayhanisidici.

- The first one doesn’t pass all the user stories
- For both of them, run your HTML code through the [W3C validator](https://validator.w3.org/#validate_by_input).
  - Since copy/paste from codepen you can ignore the first warning and first two errors.
  - There are HTML coding errors you should address.

- Second one, use external styling. Don’t use in-line style
- First one, don’t use `<br>` to force line breaks
- Second one, if you’ve ever filled out a form on-line you may have noticed that required fields are marked with an asterisk. You have fields marked that aren’t required. Remove the asterisk
- Second page needs to be responsive
  - there are fields that overflow the container on smaller screens

> **[: The Line Break element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br)**
>
> The HTML br element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant.

---

<div class="post-metadata">

**Author:** ![ayhanisidici](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ayhanisidici/32/138532_2.png) [@ayhanisidici](https://forum.freecodecamp.org/u/ayhanisidici)\
**Post date:** [June 11, 2020, 3:19am UTC](https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209/7 "2020-06-11T03:19:39Z")

</div>

Thank you very much both of you. I will keep in my mind. @Roma @JohnJohn

---

<div class="post-metadata">

**Author:** ![ayhanisidici](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ayhanisidici/32/138532_2.png) [@ayhanisidici](https://forum.freecodecamp.org/u/ayhanisidici)\
**Post date:** [June 12, 2020, 11:53am UTC](https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209/8 "2020-06-12T11:53:11Z")

</div>

guys anyone know how to do things that I mentioned at topic (3rd part)

---

<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:** [June 15, 2020, 11:28pm UTC](https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209/9 "2020-06-15T23:28:17Z")

</div>

Explain exactly what you mean by this please

---

<div class="post-metadata">

**Author:** ![ayhanisidici](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ayhanisidici/32/138532_2.png) [@ayhanisidici](https://forum.freecodecamp.org/u/ayhanisidici)\
**Post date:** [June 16, 2020, 6:02am UTC](https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209/10 "2020-06-16T06:02:04Z")

</div>

Hi @Roma  
When no one commented, I did as I know; but let me explain as follows.  
When I want to position the RadioButtons vertically in the center, an image like this appears

```
              Button: answer
        Button: answer
                     Button: answer
           Button: answer

```

You probably understood what I meant (sorry I couldn’t bring it back to the old-wrong looks in codepen).

Another question, let’s say I want to sort these radiobuttons in 2 columns. How can I do it?

---

<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:** [June 16, 2020, 2:32pm UTC](https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209/11 "2020-06-16T14:32:08Z")

</div>

> [@ayhanisidici](#):
>
> let’s say I want to sort these radiobuttons in 2 columns. How can I do it?

I just did a quick Google search and came up with [this sample](https://codepen.io/sroma/full/ExPgGxB) for you. Probably easier to do with Bootstrap but I don’t know if you’re familiar with that yet.

---

<div class="post-metadata">

**Author:** ![ayhanisidici](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ayhanisidici/32/138532_2.png) [@ayhanisidici](https://forum.freecodecamp.org/u/ayhanisidici)\
**Post date:** [June 16, 2020, 6:59pm UTC](https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209/12 "2020-06-16T18:59:40Z")

</div>

@Roma This is exactly what I was looking for. Thank you very much

---

<div class="post-metadata">

**Author:** ![sobadrdb](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@sobadrdb](https://forum.freecodecamp.org/u/sobadrdb)\
**Post date:** [June 19, 2020, 7:48am UTC](https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209/13 "2020-06-19T07:48:11Z")

</div>

hi @ayhanisidici,

sorry to add what Roma said, if you haven’t familiar with bootstrap as im not yet, you might take a look to what i’ve done to have 2 columns radio button, with plain css and html.

[https://codepen.io/sobadrdb/full/YzyRgmo](https://codepen.io/sobadrdb/full/YzyRgmo)

---

<div class="post-metadata">

**Author:** ![ayhanisidici](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ayhanisidici/32/138532_2.png) [@ayhanisidici](https://forum.freecodecamp.org/u/ayhanisidici)\
**Post date:** [June 19, 2020, 7:50pm UTC](https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209/14 "2020-06-19T19:50:17Z")

</div>

Wow, it is actually good idea… 2 radio list side by side. Thank you @sobadrdb

---

<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:15pm UTC](https://forum.freecodecamp.org/t/help-survey-project-edit-my-third-survey-page/401209/15 "2021-06-01T13:15:47Z")

</div>

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


