Survey Form what can i improve in my code?

Hi, tha’s my second project, what can i do better?
https://codepen.io/Tiagobastos/pen/yLMgPgp?editors=1100

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

  • Run your HTML code through the W3C validator.
    • There are HTML syntax/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
    • checkboxes work as expected, the radio buttons do not
  • It’s a bad UX if they have to delete text from the textarea in order to enter their comments.
  • Make your page responsive. Remember, the R in RWD stands for Responsive
    • There’s a horizontal scrollbar on smaller screens. Textarea and submit fall out of the container.
    • Why not make submit a button element rather than an input and style it like a button instead of a bar?

On a side note, do not try and replicate the sample projects.

1 Like

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