-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
47 lines (44 loc) · 1.52 KB
/
index.html
File metadata and controls
47 lines (44 loc) · 1.52 KB
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
<!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="stylesheet" href="style.css" />
<title>Frontend Mentor | Advice generator app</title>
</head>
<body>
<main>
<div class="box">
<h1 aria-live="polite" id="js-advice-number"></h1>
<p aria-live="polite" id="js-advice-text"></p>
<picture>
<source
srcset="images/pattern-divider-mobile.svg"
media="(max-width: 360px)"
/>
<img
src="images/pattern-divider-desktop.svg"
alt="divider"
aria-hidden="true"
class="divider-img"
/>
</picture>
<button
aria-label="Get Random Advice button"
type="button"
id="button"
class="button-style"
>
<svg width="24px" height="24px" 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>
</main>
<script src="app.js"></script>
</body>
</html>