-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (52 loc) · 2.54 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
<!DOCTYPE html>
<html lang="en">
<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">
<link rel="stylesheet" href="./styles/styles.css">
<title>Frontend Mentor | Interactive rating component</title>
</head>
<body class="page">
<main class="page__main">
<h1 class="visually-hidden">Interactive rating component</h1>
<form class="form section" action="#" method="post" id="rating-form">
<h2 class="form__title section__title">How did we do?</h2>
<p class="form__desc section__text">Please let us know how we did with your support request. All feedback is appreciated to help us improve our offering!</p>
<ul class="form__list">
<li class="form__item">
<input class="form__radio" type="radio" name="form-rating-radio" id="form-rating-radio-1">
<label class="form__radio-label" for="form-rating-radio-1">1</label>
</li>
<li class="form__item">
<input class="form__radio" type="radio" name="form-rating-radio" id="form-rating-radio-2">
<label class="form__radio-label" for="form-rating-radio-2">2</label>
</li>
<li class="form__item">
<input class="form__radio" type="radio" name="form-rating-radio" id="form-rating-radio-3">
<label class="form__radio-label" for="form-rating-radio-3">3</label>
</li>
<li class="form__item">
<input class="form__radio" type="radio" name="form-rating-radio" id="form-rating-radio-4">
<label class="form__radio-label" for="form-rating-radio-4">4</label>
</li>
<li class="form__item">
<input class="form__radio" type="radio" name="form-rating-radio" id="form-rating-radio-5">
<label class="form__radio-label" for="form-rating-radio-5">5</label>
</li>
</ul>
<button class="form__button" type="submit">Submit</button>
</form>
<section class="form-result section hidden">
<h2 class="form-result__title">You selected 1 out of 5</h2>
<p class="form-result__subtitle section__title">Thank you!</p>
<p class="form-result__text section__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>
</section>
</main>
<footer class="page__footer">
Challenge by <a class="link" href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a class="link" href="https://www.frontendmentor.io/profile/annaindistress" target="_blank">annaindistress</a>.
</footer>
<script src="scripts/script.js"></script>
</body>
</html>