$(document).ready(function() { $('#getStarted').click(function() { alert('Welcome to the Python Code Review & Debugging Assistant!'); }); $('#contactForm').submit(function(e) { e.preventDefault(); alert('Thank you for contacting us, ' + $('#name').val() + '! We will get back to you soon.'); $(this).trigger("reset"); // Reset the form }); });