forked from codingkatty/mathpylearn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
feedback.html
40 lines (36 loc) · 1.46 KB
/
feedback.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Math4Python Feedback Form</title>
<link rel="stylesheet" href="feedback.css">
</head>
<body>
<div class="feedback-container">
<h2>Feedback Form</h2>
<form id="feedbackForm" onsubmit="return handleSubmit()">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="rating">Rating:</label>
<select id="rating" name="rating" required>
<option value="">--Select--</option>
<option value="5">Excellent</option>
<option value="4">Very Good</option>
<option value="3">Good</option>
<option value="2">Fair</option>
<option value="1">Poor</option>
</select>
<label for="comments">Comments:</label>
<textarea id="comments" name="comments" rows="4" placeholder="Your feedback..." required></textarea>
<button type="submit">Submit Feedback</button>
<br><br>
<button type="button" onclick="goBack()">Go Back</button>
</form>
<div id="responseMessage" class="response-message"></div>
</div>
<script src="feedback.js"></script>
</body>
</html>