-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (46 loc) · 1.72 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
<!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="stylesheet" href="./css/style.css">
<title>Frontend Mentor | Expenses chart component</title>
</head>
<body>
<header class="header">
<aside class="header__balance">
<h2 class="header__balance__title">My balance</h2>
<p class="header__balance__amount">$921.48</p>
</aside>
<svg class="header__logo" width="72" height="48" viewBox="0 0 72 48" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fill-rule="evenodd">
<circle fill="#382314" cx="48" cy="24" r="24"/>
<circle stroke="#FFF" stroke-width="2" cx="24" cy="24" r="23"/>
</g>
</svg>
</header>
<main class="main">
<h2 class="main__title">
Spending - Last 7 days
</h2>
<article class="main__chart" id="chart"></article>
<div class="main__separation"></div>
<aside class="main__total">
<div class="main__total__month">
<h3 class="total__month__title">Total this month</h3>
<p class="total__month__price">$478.33</p>
</div>
<div class="main__total__last-month">
<h3 class="last-month__percentage">+2.4%</h3>
<p class="last-month__text">from last month</p>
</div>
</aside>
</main>
<footer class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Nicolas Dreux // Zeteo__Xulon</a>.
</footer>
<script src="./index.js"></script>
</body>
</html>