Here I have created a contact form using HTML
, CSS
, and JavaScript
. However, I'm facing an issue where the form redirects me to a page displaying the submitted details after clicking the submit button. I want to display a toast message instead and reset the form upon submission. To help troubleshoot, I've added an extra button to test the toast functionality, but I'm still stuck!
Any assistance would be greatly appreciated!
Try out the form demo here
(function() {
// Javascript code
})();
// CSS and JS libraries