Hello everyone! I have finished yet again another project for this day! Definitely feeling productive
I hope you can check out my survey form and leave any comment or opinion!
Thank you!!!
Hey, one quick thing, your labels at the top arenāt functioning properly. Some of them donāt have a for attribute and the one that does isnāt pointing to the id of the element it is a label for. Also, the textarea needs a label.
Ohhh I thought the for attribute was only necessary for radio and checkbox inputs
so I didnāt include it, thank you!!
the āforā attribute is necessary. it makes your page quite accessible by screen readers
Also 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.
it checks for mistakes in your code so that you can correct it
ohhh i didnāt know this, itās my first time using codepen. Iāve been using my local text editor for coding so Iām not really familiar with using it.
Your form looks good @bonifacio.chloe. Some things to revisit;
- change the cursor to a pointer when hovering over the submit button
- itās a nit but ideally the placeholder text should not mirror the label. Youād want it to show an example of the format the user should enter
Thank youuu, Iāll keep this in mind when I create forms in the future
I got used to making the placeholder the same as the label, I should really reflect on that hahaha.