What are you most proud of, and what would you do differently next time?
I got to learn about,
- The aria-live attribute to make my form more accessible. This is announce the error messages who is using assistive technologies.
- Creating gradients and different configurations related to it.
- FormData and how it can be used to get user input from the form. It's really neat and handy feature.
What challenges did you encounter, and how did you overcome them?
Since there was only one input element of type email, I tried to use Constraint validation API to validate the form. And I tried to use :invalid , :focus:invalid pseudo states of input in CSS. As I have required attribute present in the input, it set the :invalid state for the input element on page load. So, invalid state related CSS was always showing in my app. So, to fix that I remove :invalid related CSS and used .invalid class instead to handle valid and invalid states from JS.
What specific areas of your project would you like help with?
Open for feedback