-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
85 lines (67 loc) · 2.33 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html>
<head>
<script src="./js/jquery.js"></script>
<script src="./js/bootstrap.min.js"></script>
<script src="./build/js/app.js"></script>
<link type="text/css" rel="stylesheet" href="./CSS/bootstrap.min.css">
<link type="text/css" rel="stylesheet" href="./CSS/calculator.css">
<title>calculator</title>
</head>
<body>
<div class="container">
<h1 class="jumbotron">Calculator</h1><br>
<div class="row">
<div class="col-md-4">
<h3>Ping Pong </h3>
<div>
<div class="form-group">
<label for="pingpong">Enter a number larger than 1 here </label>
<input type="number" id="input">
<button type="submit" id="button">Submit</button>
</div>
<div class="container">
<ul class="displayResults" id="gameOutput">
</ul>
</div>
</div>
</div>
<div class="col-md-4">
<h3>Addition</h3>
<form id="add">
<div class="form-group">
<label for="add1">First number</label>
<input type="number" class="form-control" id="add1">
</div>
<div class="form-group">
<label for="add2">Second number</label>
<input type="number" class="form-control" id="add2">
</div>
<button type="submit" class="btn">Add!</button>
</form>
<div id="add-output">
</div>
</div>
<div class="col-md-4">
<h3>Subtraction</h3>
<form id="subtract">
<div class="form-group">
<label for="subtract1">First number</label>
<input type="number" class="form-control" id="subtract1">
</div>
<div class="form-group">
<label for="subtract2">Second number</label>
<input type="number" class="form-control" id="subtract2">
</div>
<button type="submit" class="btn">subtract!</button>
</form>
<div id="subtract-output">
</div>
</div>
</div>
<div class="container" id="container">
<br><hr><br><button class="refresh-btn"> Click Refresh to Perform new calculations</button>
</div>
</div>
</body>
</html>