Intro-component-signup-challenge (HTML, CSS and JS)

Solution retrospective
All feedback is welcome!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @vanzasetia
Hello, Lucas! 👋
Congratulations on finishing this challenge! 🎉
Some recommendations from me.
- I recommend validating the email with Regular Expression (RegEx). The native HTML validation for the email is considered
a@a
as a valid email address. - Avoid using JavaScript to add styling (unless you've no other option). JavaScript allows you to change the CSS code using the
style
property. But, to make debugging easier and improve code maintainability, it’s best to avoid it. Use CSS classes instead for all the styling. - I recommend using all classes begin with
js-
to select DOM elements within the JavaScript. This will separate the styling and the functionaility. Keep in mind, that only use thejs-
classes only for JavaScript purposes.
// Example const form = document.querySelector(".js-form");
That's it! I hope this helps. 😊
Marked as helpful - I recommend validating the email with Regular Expression (RegEx). The native HTML validation for the email is considered
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