Canstralian commited on
Commit
d7d61f9
1 Parent(s): a3c9c5a

Create index.js

Browse files
Files changed (1) hide show
  1. index.js +11 -0
index.js ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $(document).ready(function() {
2
+ $('#getStarted').click(function() {
3
+ alert('Welcome to the Python Code Review & Debugging Assistant!');
4
+ });
5
+
6
+ $('#contactForm').submit(function(e) {
7
+ e.preventDefault();
8
+ alert('Thank you for contacting us, ' + $('#name').val() + '! We will get back to you soon.');
9
+ $(this).trigger("reset"); // Reset the form
10
+ });
11
+ });