-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (55 loc) · 2.23 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>When Will I Earn This Much</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css" integrity="sha256-2YQRJMXD7pIAPHiXr0s+vlRWA7GYJEK0ARns7k2sbHY=" crossorigin="anonymous" />
</head>
<body>
<div class="container">
<div class="row">
<h1>When Will I Earn This Much?</h1>
</div>
<form onsubmit="return false" oninput="calculate()">
<div class="row">
<div class="six columns">
<label for="amountPerWeek">Amount earned per week</label>
<input id="amountPerWeek" type="number" min="0" placeholder="50" class="u-full-width" required>
</div>
<div class="six columns">
<label for="currentAmount">Amount currently owned</label>
<input id="currentAmount" type="number" placeholder="0" class="u-full-width" required>
</div>
</div>
<div class="row">
<div class="six columns">
<label for="desiredAmount">Desired amount</label>
<input id="desiredAmount" type="number" min="0" placeholder="2000" class="u-full-width" required>
</div>
<div class="six columns">
<label for="dayPaid">Day of the week money is earned</label>
<select name="dayPaid" id="dayPaid" class="u-full-width">
<option value="1">Monday</option>
<option value="2">Tuesday</option>
<option value="3">Wednesday</option>
<option value="4">Thursday</option>
<option value="5">Friday</option>
<option value="6">Saturday</option>
<option value="0">Sunday</option>
</select>
</div>
</div>
<div class="row">
<div class="twelve columns">
<button class="button-primary" onclick="calculate()">Calculate</button>
</div>
</div>
</form>
<div class="row">
<h3 class="date" style="text-align: center"></h3>
</div>
</div>
<script src="script.js"></script>
<script src="tests.js"></script>
</body>
</html>