-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbudgeting.html
63 lines (58 loc) · 3.04 KB
/
budgeting.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
<!DOCTYPE html>
<html>
<head>
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
</head>
<body>
<nav>
<div class="nav-wrapper purple lighten-1">
<a href="index.html" class="brand-logo center"><i class="fas fa-filter"></i></a>
</div>
<div class="nav-content">
<ul class="tabs">
<li class="tab"><a class="active deep-purple-text" href="budgeting.html">Budgeting</a></li>
<li class="tab"><a class="purple-text" href="nutrition.html">Nutrition</a></li>
<li class="tab"><a class="purple-text" href="fitness.html">Fitness</a></li>
<li class="tab"><a class="purple-text" href="other.html">Other</a></li>
</ul>
</div>
<div class="row">
<div class="col s8 offset-s2">
<div class="collection">
<a href="#!" class="collection-item">Goal 1: Reduce Monthly Spending by 5% | 3 Points <span id="monthSpend" class="light-blue-text"></span></a>
<a href="#!" class="collection-item">Goal 2: Achieve over $10,000 in Savings | 4 Points <span id="savingsProgress" class="light-blue-text"></span></a>
</div>
</div>
</div>
<div class="row">
<div class=""col s8">
<div class="collection col s4 offset-s2">
<h5 class="collection-item black-text">Total Spending by Month</h5>
<canvas id="monthChart" width="500" height="500" class="collection-item"></canvas>
<p class="collection-item black-text">Total Spending Past Year:<span id="totalSum"></span></p>
</div>
</div>
<div class=""col s8">
<div class="collection col s4">
<h5 class="collection-item black-text">Total Spending by Merchant</h5>
<canvas id="companyChart" width="500" height="500" class="collection-item"></canvas>
<p class="collection-item black-text">Total Income Past Year:<span id="totalIncome"></span></p>
</div>
</div>
</div>
</nav>
<!--JavaScript at end of body for optimized loading-->
<script type="text/javascript" src="js/materialize.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.bundle.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js"></script>
<script src="js/budgeting.js"></script>
</body>
</html>