Design comparison
SolutionDesign
Solution retrospective
Please can someone help me with the javascript logic
Community feedback
- @NehalSahu8055Posted over 1 year ago
Hello Coder 👋.
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
CSS
➨ Add
min-height:100vh
to your body to properly center your design and removemargin
frombody
➨ To properly center the container.
- USING FLEXBOX
{ min-height: 100vh; display: flex; align-items: center; justify-content: center; }
- USING GRID
{ min-height: 100vh; display: grid; place-items: center; }
JS
➨ I give you some hints try to implement it.
- Add event listener to submit button.
- Check for email validation by email validator regex.
- Make necessary changes for invalid and valid conditions like for invalid making red color border and text.
- For successful validation navigate to thank you page.
I hope you find this helpful.
Happy coding😄
Marked as helpful1
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