-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask3.html
More file actions
30 lines (29 loc) · 749 Bytes
/
task3.html
File metadata and controls
30 lines (29 loc) · 749 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>
JavaScript program to calculate multiplication and division of two numbers
</title>
<style type="text/css">
body {
margin: 30px;
}
</style>
<script src="./task3.js"></script>
</head>
<body>
<form>
1st Number : <input type="text" id="firstNumber" /><br />
<br />
2nd Number: <input type="text" id="secondNumber" /><br />
<br />
<input type="button" onClick="multiplyBy()" value="Multiply" />
<input type="button" onClick="divideBy()" value="Divide" />
</form>
<p>
The Result is : <br />
<span id="result"></span>
</p>
</body>
</html>