Ping single column coming soon page (HTML +CSS +jQuery)
Design comparison
Community feedback
- @mattstuddertPosted about 5 years ago
Great work on this challenge, your solution looks really good. The only remaining task would be to clear the errors in the report. Keep up the great work! 🙂
0@abidou08Posted about 5 years ago@mattstuddert Thanks for suggestion, i tried to fix some issues but i have some questions if it's possible to answer:
1- I changed "Notify Me" button type to "submit", but now page is reloading automatically even if email is wrong.
0@mattstuddertPosted almost 5 years ago@abidou08 that's because the default action of submitting a form is for the browser to refresh. So you just need to add
event.preventDefault()
inside thesubscribeButton
function. Here's more info on event.preventDefault.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