Ping single column coming soon page using vanilla JS

Solution retrospective
Here is my solution to this challenge. 🔥 Please provide your feedback for improvement. 🙏 Thanks in advance.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @abdeldevprojects
everything works fine except i didn't understand why you used email instead of input variable in
line 8 : if (email.value.trim() == "") line 12 : else if (!validateEmail(email.value)
i think it should be
line 8 : if (input.value.trim() == "") line 12 : else if (!validateEmail(input.value)
i might be wrong because i am not an expert , still learning
thank you and happy coding <3
Marked as helpful
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