-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (46 loc) · 1.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.7.1/chart.min.js"></script>
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title>Frontend Mentor | Expenses chart component</title>
<link rel="stylesheet" href="./css/style.css">
<style>
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
</style>
</head>
<body>
<div class="container">
<section class="balance">
<div>
<p>My balance</p>
<h3>$921.48</h3>
</div>
<img src="images/logo.svg" alt="logo" class="logo" />
</section>
<main>
<h3>Spending - Last 7 days</h3>
<div><canvas id="myChart" ></canvas></div>
<hr>
<section class="info">
<div class="total">
<span>Total this month</span>
<p>$478.33</p>
</div>
<div class="percent">
<p>+2.4%</p>
<span>from last month</span>
</div>
</section>
</main>
</div>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="https://shelby-doc-portfolio.netlify.app/" target="_blank">Shelby DOC</a>.
</div>
<script src="./js/index.js"></script>
</body>
</html>