-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
166 lines (153 loc) · 4.2 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Frontend Mentor Challenges - Solutions by Emanuele Fabrizio</title>
<style>
html {
font-size: 14px;
--gap: 0.5rem;
}
body {
font-size: 1rem;
}
main {
min-height: 100svh;
}
.junior {
background-color: chartreuse;
}
.playground {
margin-top: 3rem;
margin-left: 3rem;
max-width: 400px;
position: relative;
}
.playground>* {
margin-block: 1rem;
outline: 2px dotted red;
}
.flex {
display: flex;
gap: var(--gap);
flex-wrap: wrap;
}
.flex>* {
flex: 1;
flex-basis: 7.5rem;
}
.grid {
display: grid;
gap: var(--gap);
grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
p {
outline: 1px dotted green;
margin: 0;
padding: var(--gap);
}
.playground::before {
content: "“";
position: absolute;
top: -1.5rem;
left: -1.25rem;
font-size: 4rem;
font-weight: 900;
margin-right: 0.5rem;
}
</style>
</head>
<body>
<header>
<h1>Frontend Mentor Challenges</h1>
<h2>Solutions by Emanuele Fabrizio</h2>
</header>
<main>
<h2>Newbie</h2>
<aside>
<ul>
<li>
<h3>
<a href="newbie/3-column-preview-card-component/">3-column preview card component</a>
</h3>
</li>
<li>
<h3>
✅ <a href="newbie/product-preview-card-component/">Product preview card component</a>
</h3>
</li>
<li>
<h3>
✅ <a href="newbie/qr-code-component/">QR code component</a>
</h3>
</li>
<li>
<h3>
<a href="newbie/results-summary-component/">Results summary component</a>
</h3>
</li>
<li>
<h3>
✅ <a href="newbie/blog-preview-card-main/">Blog preview card component</a>
</h3>
</li>
<li>
<h3>
✅ <a href="newbie/social-links-profile-main/">Social links profile</a>
</h3>
</li>
<li>
<h3>
✅ <a href="newbie/recipe-page-main/">Recipe page</a>
</h3>
</li>
<li>
<h3>
✅ <a href="newbie/four-card-feature-section-master/">Four card feature section</a>
</h3>
</li>
<li>
<h3 class="junior">
✅ <a href="junior/testimonials-grid-section-main/">Testimonial grid section</a>
</h3>
</li>
<li>
<h3>
✅ <a href="newbie/meet-landing-page/">Meet landing page</a>
</h3>
</li>
<li>
<h3 class="junior">
<a href="junior/clipboard-landing-page-master/">Clipboard landing page</a>
</h3>
</li>
<li>
<h3>
<a href="newbie/interactive-rating-component-main/">Interactive rating component</a>
</h3>
</li>
</ul>
</aside>
<section class="playground">
<p class="quote">This is an example of how the content drives the rendition of elements within a flex or a grid
layout.</p>
<div class="flex path">
<p><a href="newbie/qr-code-component/">QR code component</a></p>
<p><a href="newbie/blog-preview-card-main/">Blog preview card component</a></p>
<p><a href="newbie/social-links-profile-main/">Social links profile</a></p>
<p><a href="newbie/recipe-page-main/">Recipe page</a></p>
</div>
<div class="grid path">
<p><a href="newbie/product-preview-card-component/">Product preview card component</a></p>
<p><a href="newbie/four-card-feature-section-master">Four card feature section</a></p>
<p><a href="junior/testimonials-grid-section-main/">Testimonials grid section</a></p>
<p><a href="newbie/meet-landing-page/">Meet landing page</a></p>
</div>
<div class="flex path">
<p><a href="newbie/interactive-rating-component-main/">Interactive rating component</a></p>
</div>
</section>
</main>
</body>
</html>