@ThatDevDiaz
Posted
Hey! great solution.
For the validation checks, you can clean up a lot of the code by creating an error function. Ex: function errorCheck(){ }; This errorCheck function can then be called anytime the input value does not meet the criteria instead of writing individual errors for every validation check. This will clean up the code a bunch. You can place d, m, y in an array and callback this error depending on whichever validation check they failed. Just an idea for a different approach.
Your CSS and HTML was definitely a lot closer than mine that's for sure!
Great stuff. Was cool seeing a different approach to this. I learned some from your code. Keep on coding
Marked as helpful