Submitted almost 3 years ago
Responsive HTML, CSS & JS with Regex.
@jordankimsey
Design comparison
SolutionDesign
Solution retrospective
After you successfully send the email, how do you remove the success message after a set amount of time?
Community feedback
- @alexatttPosted almost 3 years ago
To remove success message, you can use setTimeout, in your case it could look something like this setTimeout(function(){ text.innerHTML = ' '; }, 3500); This will remove Success message after 3.5 seconds ;)
Marked as helpful0@jordankimseyPosted over 2 years ago@alexattt Thank you for the suggestion! I definitely will implement this in the future.
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