Survey Form Result - Feedback

Hi everyone, I’d like to share my survey form project. I’d like to know what do you think about the colors, the overall code. Any tips and suggestions are more than welcome.

Here is the codepen:


Your form looks good @christmed. 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.
    • For instance links to fonts go in the box labeled ‘Stuff for <head>’
  • Run your HTML code through the W3C validator.
    • There are HTML coding errors you should be aware of and address.
    • Since copy/paste from codepen you can ignore the first warning and first two errors.
  • User’s should be able to click on the label to toggle a selection, not just the radio button / checkbox
  • 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.
1 Like

Thank you for the feedback! I have corrected my mistakes. Just one question, is W3C validator outdated? it’s showing me an error on the margin-inline propery of my CSS code.

Did you save your changes? I’m still seeing the same issues that I noted above.

The W3C validator for CSS for CSS is a different link. I do not see any errors when running your CSS code through it.

How about now? :sweat_smile: Regarding the W3C validator, I switched to CSS to check if I had any errors and turns out I have the following error:
"Error margin-inline Property doesn’t exist.

Everything looks good now.

That’s why I use the other link for checking CSS

Alright, I’ll user the other link then. Thank you very much for taking the time to check my code!

1 Like