Skip to content

Commit 072da89

Browse files
committed
update results-summary
1 parent cbf45e5 commit 072da89

File tree

3 files changed

+208
-223
lines changed

3 files changed

+208
-223
lines changed

results-summary/README.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,21 @@ Users should be able to:
4141
- Semantic HTML5 markup
4242
- CSS custom properties
4343
- Flexbox
44-
- CSS Grid
4544
- Mobile-first workflow
46-
- Bootstrap
4745

4846

4947
### What I learned
5048

51-
Through this project, I had the opportunity to delve into Bootstrap for the first time, and it proved to be a valuable learning experience, highlighting the power and versatility of the framework, while also revealing that there is still much more to discover and master.
49+
Through this project, I gained experience in creating a responsive user interface using CSS flexbox and custom properties. I also improved my skills in mobile-first development, ensuring that the design is optimized for various screen sizes.
5250

5351
### Continued development
5452

55-
In future projects, I would like to further explore Bootstrap and its various components to enhance my front-end development skills.
53+
In future projects, I plan to explore advanced CSS techniques and possibly incorporate JavaScript to add interactivity and enhance user experience.
5654

5755
### Useful resources
5856

5957
- [CSS Tricks](https://css-tricks.com/)
6058
- [MDN Web Docs](https://developer.mozilla.org/en-US/)
61-
- [Bootstrap Documentation](https://getbootstrap.com/docs/5.3/getting-started/introduction/)
6259

6360

6461
## Author

results-summary/index.html

+38-51
Original file line numberDiff line numberDiff line change
@@ -2,66 +2,53 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<title>FEM Results Summary</title>
8-
<!-- Include Bootstrap CSS -->
9-
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
6+
7+
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
108
<link rel="stylesheet" href="style.css">
9+
<title>Frontend Mentor | Results summary component</title>
10+
11+
1112
</head>
12-
<body>
13-
<main>
14-
<div class="result-summary container d-grid">
15-
<div class="results row" data-spacing="large">
16-
<h1 class="section-title">Your Result</h1>
17-
<p class="result-score"><span>76</span> of 100</p>
18-
<div class="grid-flow">
19-
<p class="result-rank">Great</p>
20-
<p>You scored higher than 65% of the people who have taken these tests.</p>
13+
<body>
14+
<div class="card">
15+
<div class="card-container">
16+
<section class="result">
17+
<h3 class="title">Your Result</h3>
18+
<div class="score">
19+
<h1>76</h1>
20+
<p>of 100</p>
2121
</div>
22-
</div>
23-
<div class="summary row" data-spacing="large">
24-
<h2 class="section-title">Summary</h2>
25-
<div class="grid-flow">
26-
<div class="summary-item" data-item-type="accent-1">
27-
<div class="flex-group">
28-
<svg class="summary-icon" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 20 20"><path stroke="#F55" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.25" d="M10.833 8.333V2.5l-6.666 9.167h5V17.5l6.666-9.167h-5Z"/></svg>
29-
<h3 class="summary-item-title">Reaction</h3>
30-
</div>
31-
<p class="summary-score"><span>80</span> / 100</p>
22+
<b>Great</b>
23+
<p class="result-info">You scored higher than 65% of the people who have taken these tests.</p>
24+
</section>
25+
<section class="summary">
26+
<h3 class="title">Summary</h3>
27+
<div class="summary-rows">
28+
<div class="summary-row">
29+
<div class="badge"><img src="assets/images/icon-reaction.svg" alt="Reaction icon"><b>Reaction</b></div>
30+
<p><b>80</b> / 100</p>
3231
</div>
33-
<div class="summary-item" data-item-type="accent-2">
34-
<div class="flex-group">
35-
<svg class="summary-icon" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 20 20"><path stroke="#FFB21E" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.25" d="M5.833 11.667a2.5 2.5 0 1 0 .834 4.858"/><path stroke="#FFB21E" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.25" d="M3.553 13.004a3.333 3.333 0 0 1-.728-5.53m.025-.067a2.083 2.083 0 0 1 2.983-2.824m.199.054A2.083 2.083 0 1 1 10 3.75v12.917a1.667 1.667 0 0 1-3.333 0M10 5.833a2.5 2.5 0 0 0 2.5 2.5m1.667 3.334a2.5 2.5 0 1 1-.834 4.858"/><path stroke="#FFB21E" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.25" d="M16.447 13.004a3.334 3.334 0 0 0 .728-5.53m-.025-.067a2.083 2.083 0 0 0-2.983-2.824M10 3.75a2.085 2.085 0 0 1 2.538-2.033 2.084 2.084 0 0 1 1.43 2.92m-.635 12.03a1.667 1.667 0 0 1-3.333 0"/></svg>
36-
<h3 class="summary-item-title">Memory</h3>
37-
</div>
38-
<p class="summary-score"><span>75</span> / 100</p>
32+
<div class="summary-row">
33+
<div class="badge"><img src="assets/images/icon-memory.svg" alt="Memory icon"><b>Memory</b></div>
34+
<p><b>92</b> / 100</p>
3935
</div>
40-
<div class="summary-item" data-item-type="accent-3">
41-
<div class="flex-group">
42-
<svg class="summary-icon" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 20 20"><path stroke="#00BB8F" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.25" d="M7.5 10h5M10 18.333A8.333 8.333 0 1 0 1.667 10c0 1.518.406 2.942 1.115 4.167l-.699 3.75 3.75-.699A8.295 8.295 0 0 0 10 18.333Z"/></svg>
43-
<h3 class="summary-item-title">Verbal</h3>
44-
</div>
45-
<p class="summary-score"><span>61</span> / 100</p>
36+
<div class="summary-row">
37+
<div class="badge"><img src="assets/images/icon-verbal.svg" alt="Verbal icon"><b>Verbal</b></div>
38+
<p><b>61</b> / 100</p>
4639
</div>
47-
48-
<div class="summary-item" data-item-type="accent-4">
49-
<div class="flex-group">
50-
<svg class="summary-icon" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 20 20"><path stroke="#1125D6" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.25" d="M10 11.667a1.667 1.667 0 1 0 0-3.334 1.667 1.667 0 0 0 0 3.334Z"/><path stroke="#1125D6" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.25" d="M17.5 10c-1.574 2.492-4.402 5-7.5 5s-5.926-2.508-7.5-5C4.416 7.632 6.66 5 10 5s5.584 2.632 7.5 5Z"/></svg>
51-
<h3 class="summary-item-title">Visual</h3>
40+
<div class="summary-row">
41+
<div class="badge"><img src="assets/images/icon-visual.svg" alt="Visual icon"><b>Visual</b></div>
42+
<p><b>72</b> / 100</p>
5243
</div>
53-
<p class="summary-score"><span>72</span> / 100</p>
5444
</div>
55-
</div>
56-
<button class="btn button rounded-pill mt-3">Continue</button>
45+
<button class="btn">Continue</button>
46+
</section>
5747
</div>
5848
</div>
59-
</main>
60-
<footer class="attribution">
61-
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
62-
Coded by <a href="https://github.com/lele-sf">lele-sf</a>.
63-
</footer>
64-
<!-- Include Bootstrap JS -->
65-
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
49+
<footer class="attribution">
50+
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
51+
Coded by <a href="https://github.com/lele-sf">lele-sf</a>.
52+
</footer>
6653
</body>
6754
</html>

0 commit comments

Comments
 (0)