frontend-mentor/results-summary-component/index.html

73 lines
2.4 KiB
HTML
Raw Normal View History

2023-05-23 20:07:20 -07:00
<!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">
<title>Frontend Mentor | Results summary component</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
</style>
</head>
<body>
<div class="ResultsCard">
<div class="Results__section ResultsSummary">
<h2 class="ResultsCard__title--summary">Your Result</h2>
<div class="ScoreBubble">
<div class="ScoreBubble__score">76</div>
<div class="ScoreBubble__max">of 100</div>
</div>
<div class="ResultsSummary__info">
<h3 class="ResultsSummary__title--info">Great</h3>
<p>You scored higher than 65% of the people who have taken these tests.</p>
</div>
</div>
<div class="Results__section ResultsDetailed">
<div class="ResultsCard__title--detailed">Summary</div>
<div class="ResultsDetailed__category CategoryScore">
<span class="CategoryScore__title">Reaction</span>
<span class="CategoryScore__score">80</span>
<span class="CategoryScore__max">/ 100</span>
</div>
<div class="ResultsDetailed__category CategoryScore">
<span class="CategoryScore__title">Memory</span>
<span class="CategoryScore__score">92</span>
<span class="CategoryScore__max">/ 100</span>
</div>
<div class="ResultsDetailed__category CategoryScore">
<span class="CategoryScore__title">Verbal</span>
<span class="CategoryScore__score">61</span>
<span class="CategoryScore__max">/ 100</span>
</div>
<div class="ResultsDetailed__category CategoryScore">
<span class="CategoryScore__title">Visual</span>
<span class="CategoryScore__score">72</span>
<span class="CategoryScore__max">/ 100</span>
</div>
<button class="Button">Continue</button>
</div>
</div>
<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>
</body>
</html>