-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeedback.html
More file actions
148 lines (142 loc) · 6.32 KB
/
feedback.html
File metadata and controls
148 lines (142 loc) · 6.32 KB
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet"
href=
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="fb.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Alegreya:ital@1&family=Cardo&family=Merienda&display=swap" rel="stylesheet">
<style>
</style>
</head>
<body><br><br><br>
<header> FEEDBACK</header>
<div class="slides">
<div id="f">
<div class="slide">
<p> How would You rate the customer support?</p>
<leaves>
<input type="radio" name="rating_intfc" id="r5" ></input>
<label for="r5" style="font-size:40px;" class="fa fa-star"></label>
<input type="radio" name="rating_intfc" id="r4" ></input>
<label for="r4" style="font-size:40px;" class="fa fa-star"></label>
<input type="radio" name="rating_intfc" id="r3" ></input>
<label for="r3" style="font-size:40px;" class="fa fa-star"></label>
<input type="radio" name="rating_intfc" id="r2" ></input>
<label for="r2" style="font-size:40px;" class="fa fa-star"></label>
<input type="radio" name="rating_intfc" id="r1" ></input>
<label for="r1" style="font-size:40px;" class="fa fa-star"></label>
</leaves>
</div>
<div class="slide">
<p>How would you rate the interface according to user-friendliness?</p>
<leaves>
<input type="radio" name="rating" id="R5" ></input>
<label for="R5" style="font-size:40px;" class="fa fa-star"></label>
<input type="radio" name="rating" id="R4" ></input>
<label for="R4" style="font-size:40px;" class="fa fa-star"></label>
<input type="radio" name="rating" id="R3" ></input>
<label for="R3" style="font-size:40px;" class="fa fa-star"></label>
<input type="radio" name="rating" id="R2" ></input>
<label for="R2" style="font-size:40px;" class="fa fa-star"></label>
<input type="radio" name="rating" id="R1" ></input>
<label for="R1" style="font-size:40px;" class="fa fa-star"></label></leaves>
</div>
<div class="slide">
<p>What did you liked the most about "Go Green"?
<form action="#">
<textarea placeholder=" please help us improve.." style="font-size:18px;margin-left:240px;color:#3d4c41;background:#37a987;margin-top:20px;;width:400px;height:100px;"></textarea>
</form>
</p>
</div>
<div class="slide">
<p>What improvements can be made to our website according to you??
<form action="#">
<textarea placeholder="your suggestion means a lot to us" style="font-size:18px;margin-left:240px;color:#3d4c41;background:#37a987;margin-top:20px;;width:400px;height:100px;"></textarea>
</form>
</p>
</div>
<div class="slide">
<p><span style="font-size:40px;text-align:center;margin-top:40px;font-family:Merienda">Thank You !!</span>
<img src="hand.png"></p>
<button id="submitbutton" width=100px> Submit</button>
</div>
<div class="slide">
<p ><span style="font-size:30px;text-align:center;"><br>Thank You For Your Response <br><span style="font-size:15px" >Feedback Submitted Successfully!!</span></span>
</p>
</div></div>
<div class="circles">
<span id="b1" class="focus"></span>
<span id="b2"></span>
<span id="b3"></span>
<span id="b4"></span>
<span id="b5"></span>
</div>
</div>
<script>
var slide=document.getElementById("f");
var b1=document.getElementById("b1");
var b2=document.getElementById("b2");
var b3=document.getElementById("b3");
var b4=document.getElementById("b4");
var b5=document.getElementById("b5");
var b6=document.getElementById("submitbutton");
b1.onclick =function(){
slide.style.transform="translateX(0px)";
b1.classList.add("focus");
b2.classList.remove("focus");
b3.classList.remove("focus");
b4.classList.remove("focus");
b5.classList.remove("focus");
}
b2.onclick =function(){
slide.style.transform="translateX(-900px)";
b1.classList.remove("focus");
b2.classList.add("focus");
b3.classList.remove("focus");
b4.classList.remove("focus");
b5.classList.remove("focus");
}
b3.onclick =function(){
slide.style.transform="translateX(-1800px)";
b1.classList.remove("focus");
b2.classList.remove("focus");
b3.classList.add("focus");
b4.classList.remove("focus");
b5.classList.remove("focus");
}
b4.onclick =function(){
slide.style.transform="translateX(-2700px)";
b1.classList.remove("focus");
b2.classList.remove("focus");
b3.classList.remove("focus");
b4.classList.add("focus");
b5.classList.remove("focus");
}
b5.onclick =function(){
slide.style.transform="translateX(-3600px)";
b1.classList.remove("focus");
b2.classList.remove("focus");
b3.classList.remove("focus");
b4.classList.remove("focus");
b5.classList.add("focus");
}
b6.onclick =function(){
slide.style.transform="translateX(-4500px)";
b1.classList.remove("focus");
b2.classList.remove("focus");
b3.classList.remove("focus");
b4.classList.remove("focus");
b5.classList.remove("focus");
b1.style.display="none";
b2.style.display="none";
b3.style.display="none";
b4.style.display="none";
b5.style.display="none";
b6.classList.add("focus");
}
</script>
</body>
</html>