-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
98 lines (94 loc) · 3.01 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
<!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="./images/favicon-32x32.png"
/>
<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@100&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" />
<title>Frontend Mentor | Advice generator app</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
.attribution {
margin-top: 50px;
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
</style>
</head>
<body>
<div class="container">
<h1 class="advice-id">
ADVICE #185
<!-- Advice ID goes here -->
</h1>
<p class="advice">
<!-- Advice text goes here -->
“You can fail at what you don't want. So you might as well take a chance
on doing what you love.”
</p>
<svg
class="pause-mobile"
width="295"
height="16"
xmlns="http://www.w3.org/2000/svg"
>
<g fill="none" fill-rule="evenodd">
<path fill="#4F5D74" d="M0 8h122v1H0zM173 8h122v1H173z" />
<g transform="translate(138)" fill="#CEE3E9">
<rect width="6" height="16" rx="3" />
<rect x="14" width="6" height="16" rx="3" />
</g>
</g>
</svg>
<svg
class="pause-desktop"
width="444"
height="16"
xmlns="http://www.w3.org/2000/svg"
>
<g fill="none" fill-rule="evenodd">
<path fill="#4F5D74" d="M0 8h196v1H0zM248 8h196v1H248z" />
<g transform="translate(212)" fill="#CEE3E9">
<rect width="6" height="16" rx="3" />
<rect x="14" width="6" height="16" rx="3" />
</g>
</g>
</svg>
</div>
<button class="icon-dice-container">
<svg
class="icon-dice-svg"
width="24"
height="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M20 0H4a4.005 4.005 0 0 0-4 4v16a4.005 4.005 0 0 0 4 4h16a4.005 4.005 0 0 0 4-4V4a4.005 4.005 0 0 0-4-4ZM7.5 18a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm0-9a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm4.5 4.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm4.5 4.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm0-9a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z"
fill="#202733"
/>
</svg>
</button>
<div class="attribution">
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank"
>Frontend Mentor</a
>. Coded by <a href="#">Lucas Hourquin</a>.
</div>
<script src="main.js"></script>
</body>
</html>