-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (51 loc) · 1.88 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="apple-touch-icon" sizes="180x180" href="./public/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./public/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./public/favicon-16x16.png">
<link rel="stylesheet" type="text/css" href="index.css" />
<script src="js/index.js "></script>
<title>Do The Math!</title>
</head>
<body>
<h1>Do The Math (a price / cost calculator)</h1>
<div id="errorDiv" name="errorDiv"></div>
<table>
<tr>
<td>
<input type="button" onclick="addNewLine()" value="New Line" name="newLine" id="newLine" class="button" />
</td>
<td>
<input type="button" onclick="dotheMATH()" value="Calculate" name="calculate" id="calculate" class="button" />
</td>
<td>
<input type="button" onclick="refreshIT()" value="Refresh" name="refreshbtn" id="refreshbtn" class="button" />
</td>
<td>
<input type="button" onclick="clearIT()" value="Clear Lines" name="clear" id="clear" class="button" />
</td>
</tr>
</table>
<table>
<tr>
<td>
<h2>Please Enter</h2>
</td>
<td align="right">
<h2>Total Price:</h2>
</td>
<td>
<input type="number" name="totalPrice" id="totalPrice" value="0" autofocus tabindex="1 " size="8 " class="text " />
</td>
<td align="right">
<h2># of Windows:</h2>
</td>
<td>
<input type="number" name="totalWindows" id="totalWindows" value="0" autofocus tabindex="1 " size="8 " class="text " />
</td>
</tr>
</table>
<div id="divMain"></div>
</body>
</html>