-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
88 lines (80 loc) · 2.84 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- displays site properly based on user's device -->
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./images/favicon-32x32.png"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,1,0"
/>
<link rel="stylesheet" href="styles.css" />
<title>Frontend Mentor | Interactive rating component</title>
</head>
<body>
<!-- Rating state start -->
<main>
<div id="card-rating" class="card-rating">
<button class="favourite">
<span class="material-symbols-outlined"> star </span>
</button>
<div class="text-container">
<h1>How did we do?</h1>
<p class="rating-request">
Please let us know how we did with your support request. All
feedback is appreciated to help us improve our offering!
</p>
</div>
<div class="btn-container">
<button id="btn1" class="btn-rating" value="1">1</button>
<button id="btn2" class="btn-rating" value="2">2</button>
<button id="btn3" class="btn-rating" value="3">3</button>
<button id="btn4" class="btn-rating" value="4">4</button>
<button id="btn5" class="btn-rating" value="5">5</button>
</div>
<div class="sub-container">
<button class="submit">SUBMIT</button>
</div>
</div>
<p id="alert" class="alert"></p>
<!-- Rating state end -->
<!-- Thank you state start -->
<div id="thanks" class="card-thanks">
<div class="wrap-thanks">
<img
alt="A illustration of a gray phone with some images geting off of them like a form that you are giving the feedbak"
src="images/illustration-thank-you.svg"
/>
<div class="select-container">
<p class="rating">You selected </p>
<span id="user-value" class="value-user"></span>
<p class="rating"> out of 5</p>
</div>
<div class="texting-container">
<h4 class="title-thanks">Thank you!</h4>
<p class="text">
We appreciate you taking the time to give a rating. If you ever
need more support, don’t hesitate to get in touch!
</p>
</div>
</div>
</div>
</main>
<!-- Thank you state end -->
<footer>
<div class="attribution">
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank"
>Frontend Mentor</a
>. Coded by <a href="#">Cintia Siqueira</a>.
</div>
</footer>
<script src="code.js"></script>
</body>
</html>