Spaces:
Running
Running
Create index.js
Browse files
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 |
+
});
|