A Strange Survey Website

Hello, guys,
I’d love to get some feedback on this website.

Not really feeling that I know what I’m doing, so I’m sure there’s a lot to be improved and/or done differently. Appreciate your feedback!

Welcome to the forums @bendzis. Your form looks good. Some things to revisit;

  • Keep the test script when forking the pen (<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>).
    • The test script should be included, with all tests passing, when you submit your projects.
    • Your page passes 9/17 user stories. Click the red button to see which test(s) are failing and text to help you correct the issue.
  • Run your HTML code through the W3C validator.
    • Since copy/paste from codepen you can ignore the first warning and first two errors.
    • There are HTML coding errors you should be aware of and address.
  • Codepen provides validators for HTML, CSS and JS. Click on the down arrow in the upper right of each section and then click on the respective ‘Analyze’ link.
    • The one for CSS is good. Use it, there’s something to clean up.
    • The one for HTML misses things which is why I recommend W3C
  • User’s should be able to click on the label to select. Not just the radio button / checkbox.
  • Don’t use <br> to force line breaks or spacing. That’s what CSS is for.
1 Like

Thank you very much, this helped a bunch.

I corrected the code, except for the labels - they were clickable.

Thanks again.

Nice job cleaning things up @bendzis. The only other thing I would say is to change the cursor to a pointer when hovering over the submit button.

1 Like