-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (43 loc) · 1.86 KB
/
Copy pathindex.html
File metadata and controls
43 lines (43 loc) · 1.86 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
39
40
41
42
43
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta content="width=device-width,initial-scale=1" name="viewport">
<title>JS Math</title>
<link href="https://cdn.glitch.com/c16530b3-dd93-4a57-936e-b6d47ae27437%2Fmath.jpg?1534817525181" rel="icon">
<link href="https://fonts.googleapis.com/css?family=Corben:700|Roboto" rel="stylesheet">
<link href="./style.css" rel="stylesheet">
</head>
<body>
<h1>JS Math</h1>
<p id="about">JS Math is a site where developers have worked on JavaScript algorithms to create and solve basic and complex problems. We have taken a simple idea of a calculator to extreme, with easier functionality and more code. Presented by <strong>BK Tech Inc</strong>. Created and Developed by <strong>RocketBear27</strong>.<br>
<br></p>
<hr>
<br>
<br>
<h3>Addition</h3><br>
<br>
<form>
<input class="additionBox" id="addNum1" placeholder="Number" type="text"> + <input class="additionBox" id="addNum2" placeholder="Number" type="text">
<button class="addCalculate" onclick="add()">Add Numbers</button><br>
<span class="answerBox"><strong>Your Answer is:</strong></span>
</form>
<p><span class="answerBox" id="addAnswer"></span></p><br>
<br>
<hr>
<br>
<br>
<h3>Subtraction</h3><br>
<br>
<form>
<input class="additionBox" id="subNum1" placeholder="Number" type="text"> - <input class="additionBox" id="subNum2" placeholder="Number" type="text">
<button class="subCalculate" onclick="sub()">Subtract Numbers</button><br>
<span class="answerBox"><strong>Your Answer is:</strong></span>
</form>
<p><span class="answerBox" id="subAnswer"></span></p><br>
<br>
<hr>
<script src="./script.js"></script>
</body>
</html>