-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathfeedback.html
128 lines (126 loc) · 4.39 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html lang="en">
<head>
<link
rel="icon"
href="DALL·E 2024-08-28 12.19.31 - A clean and moderately detailed logo for a Sanskrit education website. T.webp"
/>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>मातृबोधः</title>
<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet" href="animations.css" />
<link rel="stylesheet" href="scontentcss.css" />
<link rel="stylesheet" href="footercss.css" />
<link rel="stylesheet" href="feedback.css" />
</head>
<body>
<header>
<nav>
<a href="index.html" class="logo">मातृबोधः</a>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="index.html#wisdom">About</a></li>
<li class="dropdown">
<a href="#">Content</a>
<ul class="dropdown-content">
<li><a href="countingpage.html">Counting</a></li>
<li><a href="#">Days</a></li>
<li><a href="#">Activities</a></li>
</ul>
</li>
<li><a href="login.html">Login</a></li>
<li><a href="#">Contact</a></li>
</ul>
<div class="toggle-menu">☰</div>
</nav>
</header>
<div class="main-section">
<div class="container">
<h1 class="feedback-head">Your Feedback is Valuable To Us</h1>
<div class="first-q">
<p>How was the User Interface</p>
<div class="choice">
<div class="l1">
<input type="radio" id="a1" name="ux" />
<label for="a1">Outstanding</label>
</div>
<div class="l2">
<input type="radio" id="a2" name="ux" />
<label for="a2">Exceeds Expectations</label>
</div>
<div class="l3">
<input type="radio" id="a3" name="ux" />
<label for="a3">Meets Expectations</label>
</div>
<div class="l4">
<input type="radio" id="a4" name="ux" />
<label for="a4">Needs Improvement</label>
</div>
</div>
</div>
<div class="first-q">
<p>How smooth the Navigation</p>
<div class="choice">
<div class="l1">
<input type="radio" id="b1" name="ui" />
<label for="b1">Outstanding</label>
</div>
<div class="l2">
<input type="radio" id="b2" name="ui" />
<label for="b2">Exceeds Expectations</label>
</div>
<div class="l3">
<input type="radio" id="b3" name="ui" />
<label for="b3">Meets Expectations</label>
</div>
<div class="l4">
<input type="radio" id="b4" name="ui" />
<label for="b4">Needs Improvement</label>
</div>
</div>
</div>
<div class="first-q">
<p>What is your User Experience</p>
<div class="choice">
<div class="l1">
<input type="radio" id="c1" name="nav" />
<label for="c1">Outstanding</label>
</div>
<div class="l2">
<input type="radio" id="c2" name="nav" />
<label for="c2">Exceeds Expectations</label>
</div>
<div class="l3">
<input type="radio" id="c3" name="nav" />
<label for="c3">Meets Expectations</label>
</div>
<div class="l4">
<input type="radio" id="c4" name="nav" />
<label for="c4">Needs Improvement</label>
</div>
</div>
</div>
<div class="btn">
<button type="submit" id="button" onclick="validateForm()">
Send
</button>
</div>
</div>
</div>
<script>
function validateForm() {
const ux = document.querySelector('input[name="ux"]:checked');
const ui = document.querySelector('input[name="ui"]:checked');
const nav = document.querySelector('input[name="nav"]:checked');
if (!ux || !ui || !nav) {
alert("Please answer all the questions.");
return false;
} else {
alert("Feedback Submitted Successfully");
window.location.href = "index.html";
}
}
</script>
</body>
</html>