-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
71 lines (50 loc) · 2.4 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title>Frontend Mentor | Interactive rating component</title>
<link rel="stylesheet" href="./css/reset.css">
<link rel="stylesheet" href="./css/container.css">
<link rel="stylesheet" href="./css/rating_components.css">
</head>
<body>
<main class="container">
<!-- Rating state start -->
<div class="container__rating-component">
<img src="./images/icon-star.svg" alt="Icon Star" class="rating-component__image--bg-darkgray">
<h1 class="rating-component__main-title">How did we do?</h1>
<p class="rating-component__paragraph">
Please let us know how we did with your support request. All feedback is appreciated
to help us improve our offering!
</p>
<div class="rating-component__rating-choice-container">
<div class="rating-component__rating-value" id="rating-value-1">1</div>
<div class="rating-component__rating-value" id="rating-value-2">2</div>
<div class="rating-component__rating-value" id="rating-value-3">3</div>
<div class="rating-component__rating-value" id="rating-value-4">4</div>
<div class="rating-component__rating-value" id="rating-value-5">5</div>
</div>
<button type="submit" value="submit" class="rating-component__btn">Submit</button>
</div>
<!-- Rating state end -->
<!-- Thank you state start -->
<div class="container__rating-component container__rating-component--centralized display-none">
<img src="./images/illustration-thank-you.svg" alt="Illustration Thank You" class="rating-component__image">
<div class="rating-component__rating-result-container"></div>
<h1 class="rating-component__main-title">Thank you!</h1>
<p class="rating-component__paragraph">
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>
<!-- Thank you state end -->
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="https://www.frontendmentor.io/profile/coelhoalexandre" target="_blank">Alexandre Coelho</a>.
</div>
</main>
<script src="./js/index.js"></script>
</body>
</html>