HTML & SCSS and JS for validation error message
Design comparison
Solution retrospective
Hello, i am a newbie to JS. I find a way to write script and (it's bad). Anyway, if you have any feedback about my solution please leave a comment.
Community feedback
- Account deleted
Hello Andrii-Rohov,👋
Your solution looks good and responsive as well.🥳
I have one suggestion for you
Keep your (scss) files separate for each section , thats all.
Great work 👏
Have fun coding.💻
Marked as helpful1 - @SathishVMPosted over 3 years ago
There is a simple solution that can be used to validate the email field using regex in javascript, Well regex is also known as a regular expression that validates the string by the pattern we provide. Writing a regex pattern is tough though you can google around it and use the available solutions on it.
https://stackoverflow.com/questions/46155/how-to-validate-an-email-address-in-javascript
You can learn from this resource.
0
Please log in to post a comment
Log in with GitHubJoin 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