Ping single column with css grid and flexbox and font awesome

Please log in to post a comment
Log in with GitHubCommunity feedback
- @mattstuddert
Hey Berava, great to see you post another solution, it looks really good! The main feedback I've got is related to the JS form validation. At the moment the form still submits even with invalid inputs. I'd recommend targeting the
form
and listen for thesubmit
event to trigger the validation check. I'd also addevent.preventDefault()
to prevent the form from submitting automatically. Then you can run the checks and only submit the form if the validation checks pass.Hope this helps! 🙂
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