-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (40 loc) · 2.04 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Star Rating Component</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>
<body>
<div class="star-rating">
<h1>How many stars would you give to our Online Code Editor?</h1>
<div class="stars">
<span class="star" data-value="1"><i class="fas fa-star"></i></span>
<span class="star" data-value="2"><i class="fas fa-star"></i></span>
<span class="star" data-value="3"><i class="fas fa-star"></i></span>
<span class="star" data-value="4"><i class="fas fa-star"></i></span>
<span class="star" data-value="5"><i class="fas fa-star"></i></span>
</div>
<div class="rating-text">
<span class="text" data-value="1">
We're sorry to hear that you had a bad experience. We would like to learn more about what happened and how we can make things right.
</span>
<span class="text" data-value="2">
We apologize for the inconvencie you experienced. We appreciate your feedback and would like to work with you to address any issue.
</span>
<span class="text" data-value="3">
Thank you for your feedback. We're Sorry to hear that your experience wasn't perfect. We would love to hear more about your concens to see how we can improve.
</span>
<span class="text" data-value="4">
Thank you for your positive feedback! We're glad to know that you had a great experience and we appreciate your support.
</span>
<span class="text" data-value="5">
Excellent! We're thrilled to hear you had a positive experience. Thank you for choosing our platform.
</span>
</div>
</div>
<script src="script.js"></script>
</body>
</html>