Survey Form-Can I get some feedback please?

Survey Form

Looks nice, works and scales-down well, I haven’t seen anything obviously bad in code. Just not sure if using ID instead of classes everywhere is a good idea…

Thanks. I don’t know why I use id so much. Good point.

Hello there @KellyR

I see some tags in the code that isn’t wrong but you can have more semantic value with other tags. Take a look at the link below.

: The Bring Attention To element - HTML: HyperText Markup Language | MDN (mozilla.org)

And you are using a “p” tag like a title for the groups instead you can use a label, or even better a tag fieldset with a tag legend. The tag fieldset is used to group things on forms and the legend will name these groups.

These links can help, in each example, you will have a link to bigger documentation with more details.

HTML Reference - A free guide to all HTML elements and attributes.
CSS Reference - A free visual guide to CSS

This isn’t wrong but is good to try to maintain a pattern in your code.

I really appreciate these tips. Muito obrigado!

1 Like

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