First time doing form validation

Solution retrospective
There are a lot of little things about form validation that tripped me up a bit.
The first few attempts I used javascript and DOM manipulation to insert div's for the error messages. The problem was I could not get the error message to display where I wanted it and without destroying my layout.
I decided to scrap it and I followed a tutorial from mdn where I created functions that would add and remove the attributes from the html. I need more practice because I would like to be able to fully customize the validation forms.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Lit2lLarry
A big thank you to @andreasremdt! His solution was my answer sheet when I got stuck.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord