-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbackup.html
60 lines (59 loc) · 4.37 KB
/
backup.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
<!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="./assets/images/favicon-32x32.png">
<link rel="stylesheet" href="assets/output.css">
<link rel="stylesheet" href="/src/App.css">
<title>Frontend Mentor | Interactive rating component</title>
</head>
<body class="tw-bg-ir-very-dark-blue">
<main class="tw-flex tw-justify-center tw-items-center tw-min-h-screen tw-text-white tw-px-4">
<div class="tw-rounded-3xl tw-flex tw-justify-center tw-h-[22rem] tw-w-[22rem] tw-bg-gradient-to-t tw-from-ir-dark-blue/40 tw-to-ir-dark-blue tw-p-7">
<!--rating card-->
<div class="rating-card tw-flex tw-flex-col tw-justify-between">
<div class="tw-h-9 tw-w-9 tw-p-[0.65rem] tw-flex tw-items-center tw-justify-center tw-bg-ir-medium-grey/20 tw-rounded-full"><img src="assets/images/icon-star.svg" alt="star" class="tw-w-full"></div>
<div>
<h1 class="tw-text-2xl tw-font-bold tw-my-2">How did we do?</h1>
<p class="tw-text-sm tw-text-ir-medium-grey tw-my-2">
Please let us know how we did with your support request. All feedback is appreciated
to help us improve our offering!
</p>
</div>
<ul class="tw-flex tw-flex-row tw-justify-between tw-select-none">
<li class="rating tw-flex tw-items-center tw-justify-center tw-h-10 tw-w-10 tw-bg-ir-light-grey/20 tw-text-ir-light-grey tw-rounded-full tw-text-sm tw-cursor-pointer hover:tw-bg-ir-orange hover:tw-text-white tw-transition-colors tw-duration-300">1</li>
<li class="rating tw-flex tw-items-center tw-justify-center tw-h-10 tw-w-10 tw-bg-ir-light-grey/20 tw-text-ir-light-grey tw-rounded-full tw-text-sm tw-cursor-pointer hover:tw-bg-ir-orange hover:tw-text-white tw-transition-colors tw-duration-300">2</li>
<li class="rating tw-flex tw-items-center tw-justify-center tw-h-10 tw-w-10 tw-bg-ir-light-grey/20 tw-text-ir-light-grey tw-rounded-full tw-text-sm tw-cursor-pointer hover:tw-bg-ir-orange hover:tw-text-white tw-transition-colors tw-duration-300">3</li>
<li class="rating tw-flex tw-items-center tw-justify-center tw-h-10 tw-w-10 tw-bg-ir-light-grey/20 tw-text-ir-light-grey tw-rounded-full tw-text-sm tw-cursor-pointer hover:tw-bg-ir-orange hover:tw-text-white tw-transition-colors tw-duration-300">4</li>
<li class="rating tw-flex tw-items-center tw-justify-center tw-h-10 tw-w-10 tw-bg-ir-light-grey/20 tw-text-ir-light-grey tw-rounded-full tw-text-sm tw-cursor-pointer hover:tw-bg-ir-orange hover:tw-text-white tw-transition-colors tw-duration-300">5</li>
</ul>
<div>
<button type="submit" class="submit tw-text-center tw-w-full tw-bg-ir-orange hover:tw-bg-white hover:tw-text-ir-orange tw-transition-colors tw-duration-200 tw-py-3 tw-mt-4 tw-uppercase tw-rounded-full tw-tracking-wider tw-font-bold tw-text-sm">submit</button>
</div>
</div>
<!--thank you card-->
<div class="thank-you-card tw-flex tw-flex-col tw-items-center tw-justify-between tw-hidden">
<div class="tw-flex tw-flex-row tw-justify-center tw-p-4">
<img src="assets/images/illustration-thank-you.svg" alt="thank you" class="tw-w-36">
</div>
<div class="tw-flex tw-items-center tw-justify-center tw-bg-ir-medium-grey/10 tw-rounded-full tw-px-4 tw-h-8 tw-text-ir-orange/90 tw-text-sm">
You selected <span id="user_selected_rating" class="tw-px-1">0</span>out of 5
</div>
<div class="tw-text-center">
<h1 class="tw-font-bold tw-text-2xl tw-my-3">Thank you!</h1>
<p class="tw-text-sm tw-text-ir-medium-grey">
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>
<div class="tw-text-white/50 tw-text-center">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank" class="tw-underline tw-underline-offset-2" rel="noreferrer noopener">Frontend Mentor</a>.
Coded by <a href="https://github.com/Deeokafor/fr-interactive-rating-component" class="tw-underline tw-underline-offset-2">Okafor-udah Divine </a>.
</div>
</body>
<script src="/src/script.js"></script>
</html>