-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (78 loc) · 2.49 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Sarthak Sachdev" />
<meta name="description"
content="This is a solution to the 'Expenses chart component' challenge on Frontend Mentor" />
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png" />
<!-- Google Fonts -->
<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=DM+Sans:wght@400;700&display=swap" rel="stylesheet" />
<title>Expenses chart component</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<header>
<div class="balance">
<h2 class="title">My balance</h2>
<p>$921.48</p>
</div>
<img src="images/logo.svg" alt="Logo" />
</header>
<main>
<h1>Spending - Last 7 days</h1>
<figure class="week">
<figure class="day">
<div id="mon" class="bar"></div>
<figcaption>mon</figcaption>
</figure>
<figure class="day">
<div id="tue" class="bar"></div>
<figcaption>tue</figcaption>
</figure>
<figure class="day">
<div id="wed" class="bar"></div>
<figcaption>wed</figcaption>
</figure>
<figure class="day">
<div id="thu" class="bar"></div>
<figcaption>thu</figcaption>
</figure>
<figure class="day">
<div id="fri" class="bar"></div>
<figcaption>fri</figcaption>
</figure>
<figure class="day">
<div id="sat" class="bar"></div>
<figcaption>sat</figcaption>
</figure>
<figure class="day">
<div id="sun" class="bar"></div>
<figcaption>sun</figcaption>
</figure>
</figure>
<hr />
<footer class="footer-main">
<div class="total">
<h2 class="title">Total this month</h2>
<p>$478.33</p>
</div>
<div class="delta">
<!-- I changed the order for screen reader users -->
<h2 class="title">from last month</h2>
<p>+2.4%</p>
</div>
</footer>
</main>
</div>
<footer class="footer-body">
Coded by
<a href="https://github.com/SartHak-0-Sach">Sarthak Sachdev</a>.
</footer>
<script src="script.js"></script>
</body>
</html>