Survey Form - Chris Hadfield

The link to my page:

Thanks for taking the time to give feedback!

Your form looks good @timothy_chan. Some things to revisit;

  • Codepen provides the boilerplate for you. It only expects the code you’d put within the body element in the HTML editor. (No need to include the body tags). For anything you want to add to the <head> element click on the ‘Settings’ button, then HTML and add it into the ‘Stuff for <head>’ box.
  • Change the cursor to a pointer when hovering over the submit button
  • Do not use the <br> element to force line breaks or spacing. That’s what CSS is for.

On a side note, placeholder text should not mirror the label. It’s better to show the format of the expected input.

Thanks Roma! I fixed what you pointed out except I’m having trouble getting the different checkbox options to show on a different row. What is the easiest option to fix that? I tried using flexbox and grid but it wasn’t producing the results that I wanted.

I figured it out while I was taking a break. I just had to add a <div> around the first checkbox option

1 Like

I think it looks very nice!

One thing, though: On large screens, you can see the background being repeated at the bottom. I think you should use the background-repeat: no-repeat declaration on your #main-image selector.

1 Like

Thanks Darthcolo! I thought background-size: cover meant that it would stretch the image to cover the screen. :thinking:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.