Hello! Thank you for checking out my solution for this challenge.
This is my first attempt at using vanilla javascript for validation, and did not create individual validation functions for each scenario, rather, I used a sweeping function to check for invalid dates, leap years, etc.
I did my best to get the design as pixel-perfect as possible, but I am sure there are mistakes.
What I am looking for feedback on most are the following.
- Positioning, I struggled a lot with getting the submit button to be where I needed.
- Javascript syntax, while I understood what I needed to do, I had to use chatGPT to help me correct my syntax because I kept running into errors, specifically the validation functions.
I am more used to using things such as react which use a virtual DOM and components, so vanilla JS is foreign to me but something I believe is vital to learn before I continue into react, svelte or anything else.