-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (64 loc) · 2.83 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<title>Roomie Owes How Much?</title>
</head>
<body>
<div class="pos-f-t">
<div class="collapse" id="navbarToggleExternalContent">
<div class="bg-dark p-4">
<h4 class="text-white">Collapsed content</h4>
<span class="text-muted">Toggleable via the navbar brand.</span>
</div>
</div>
<nav class="navbar navbar-dark bg-dark">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarToggleExternalContent" aria-controls="navbarToggleExternalContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<header class="navbar-brand"><h2>Roomie Owes How Much?!</h2></header>
</nav>
</div>
<div class="container">
<div class="col-sm-6">
<div class="card border-dark mb-3">
<h4 class="card-header text-center">
Calculator
</h4>
<div class="card-body border-dark">
<form id="bill-calculator">
<div class="form-group">
<label>Number of Roommates</label>
<input type="number" class="form-control" id="numberOfPeople" placeholder="#" name="numberOfPeople">
</div>
<div class="form-group">
<label>Rent Amount</label>
<input type="number" class="form-control" id="enterRentAmount" placeholder="$" name="rentTotal">
</div>
<div class="form-group">
<label>Energy Amount</label>
<input type="number" class="form-control" id="enterEnergyAmount" placeholder="$" name="energyTotal">
</div>
<div class="form-group">
<label>Internet Amount</label>
<input type="number" class="form-control" id="enterInternetAmount" placeholder="$" name="internetTotal">
</div>
<div class="form-group">
<label>Misc Expenses</label>
<input type="number" class="form-control" id="enterMiscExpenses" placeholder="$" name="miscExpenses">
</div>
<button type="submit" class="btn btn-dark">Submit</button>
</form>
</div>
<div class="card-footer text-center border-dark">
<h4><output id="total" name="total"></output></h4>
<p id="trivia"></p>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="main.js"></script>
</body>
</html>