forked from ttsrg/goapp-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (33 loc) · 1.07 KB
/
index.html
File metadata and controls
38 lines (33 loc) · 1.07 KB
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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" type="text/css" />
<script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="app.js"></script> <!-- Your app specific code -->
</head>
<body class="container">
<div class="row">
<div class="col-md-6">
<h2>Sum</h2>
<form>
<input type="text" id="a" /><br />
<input type="text" id="b" /><br />
<button type="button" onclick="getSum(); return false;">Get sum!</button>
</form>
<hr />
</div>
</div>
<div class="row">
<div class="col-md-6">
<h2>Diff</h2>
<form>
<input type="text" id="c" /><br />
<input type="text" id="d" /><br />
<button type="button" onclick="getDiff(); return false;">Get diff!</button>
</form>
<hr />
</div>
</div>
</body>
</html>