2022-10-05 22:32:03 +02:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
2022-10-26 17:38:51 +02:00
|
|
|
|
|
2022-10-05 22:32:03 +02:00
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
2022-10-26 17:38:51 +02:00
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
<!-- displays site properly based on user's device -->
|
2022-10-05 22:32:03 +02:00
|
|
|
|
|
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
|
2022-10-26 17:38:51 +02:00
|
|
|
|
|
|
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
|
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Overpass:wght@400;700&display=swap" rel="stylesheet">
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="css/style.css">
|
2022-10-26 22:37:41 +02:00
|
|
|
|
<script src="js/script.js" defer></script>
|
2022-10-26 17:38:51 +02:00
|
|
|
|
|
2022-10-05 22:32:03 +02:00
|
|
|
|
<title>Frontend Mentor | Interactive rating component</title>
|
|
|
|
|
|
|
|
|
|
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
|
2022-10-26 17:38:51 +02:00
|
|
|
|
<!-- <style>
|
|
|
|
|
.attribution {
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
2022-10-05 22:32:03 +02:00
|
|
|
|
|
2022-10-26 17:38:51 +02:00
|
|
|
|
.attribution a {
|
|
|
|
|
color: hsl(228, 45%, 44%);
|
|
|
|
|
}
|
|
|
|
|
</style> -->
|
|
|
|
|
</head>
|
2022-10-05 22:32:03 +02:00
|
|
|
|
|
2022-10-26 17:38:51 +02:00
|
|
|
|
<body>
|
2022-10-05 22:32:03 +02:00
|
|
|
|
|
2022-10-26 17:38:51 +02:00
|
|
|
|
<main>
|
2022-10-05 22:32:03 +02:00
|
|
|
|
|
2022-10-26 22:37:41 +02:00
|
|
|
|
<article class="rating-component">
|
|
|
|
|
<!-- Rating state start -->
|
|
|
|
|
<section class="component-front">
|
|
|
|
|
<img src="images/icon-star.svg" alt="Image of a Star" aria-hidden="true">
|
|
|
|
|
<h2 class="rating-component__header">How did we do?</h2>
|
|
|
|
|
<p class="rating-component__body">
|
|
|
|
|
Please let us know how we did with your support request. All feedback is appreciated to help us improve our
|
|
|
|
|
offering!
|
|
|
|
|
</p>
|
|
|
|
|
<form id="ratingForm">
|
|
|
|
|
<fieldset>
|
|
|
|
|
<!-- <legend>Please select your preferred contact method:</legend> -->
|
|
|
|
|
<div>
|
|
|
|
|
<input type="radio" id="ratingScore1" name="rating" value="1">
|
|
|
|
|
<label for="ratingScore1">1</label>
|
|
|
|
|
<input type="radio" id="ratingScore2" name="rating" value="2">
|
|
|
|
|
<label for="ratingScore2">2</label>
|
|
|
|
|
<input type="radio" id="ratingScore3" name="rating" value="3">
|
|
|
|
|
<label for="ratingScore3">3</label>
|
|
|
|
|
<input type="radio" id="ratingScore4" name="rating" value="4">
|
|
|
|
|
<label for="ratingScore4">4</label>
|
|
|
|
|
<input type="radio" id="ratingScore5" name="rating" value="5">
|
|
|
|
|
<label for="ratingScore5">5</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<button class="btn btn-submit" type="submit">Submit</button>
|
|
|
|
|
</div>
|
|
|
|
|
</fieldset>
|
|
|
|
|
</form>
|
|
|
|
|
</section>
|
|
|
|
|
<!-- Rating state end -->
|
|
|
|
|
<!-- Thank you state start -->
|
|
|
|
|
<section>
|
|
|
|
|
<img src="images/illustration-thank-you.svg"
|
|
|
|
|
alt="Image of an electronic box with paper coming out of it. A card is moving towards the box"
|
|
|
|
|
aria-hidden="true">
|
|
|
|
|
<p class="rating-component__rating">
|
|
|
|
|
You selected <span id="ratingSpan"></span>
|
|
|
|
|
<!-- Add rating here --> out of 5
|
|
|
|
|
</p>
|
|
|
|
|
<h2 class="rating-component__header">Thank you!</h2>
|
|
|
|
|
<p class="rating-component__body">
|
|
|
|
|
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>
|
|
|
|
|
<!-- Thank you state end -->
|
|
|
|
|
</article>
|
2022-10-26 17:38:51 +02:00
|
|
|
|
</main>
|
2022-10-05 22:32:03 +02:00
|
|
|
|
|
|
|
|
|
|
2022-10-26 17:38:51 +02:00
|
|
|
|
<!-- <footer>
|
|
|
|
|
<div class="attribution">
|
|
|
|
|
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
|
|
|
|
|
Coded by <a href="#">Your Name Here</a>.
|
|
|
|
|
</div>
|
|
|
|
|
</footer> -->
|
2022-10-05 22:32:03 +02:00
|
|
|
|
</body>
|
2022-10-26 17:38:51 +02:00
|
|
|
|
|
2022-10-05 22:32:03 +02:00
|
|
|
|
</html>
|