-
Notifications
You must be signed in to change notification settings - Fork 0
/
testbook-calc-type-59.html
61 lines (57 loc) · 2.53 KB
/
testbook-calc-type-59.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>free calculator by testbook</title>
<link rel="stylesheet" type="text/css" href="./style/tb-calc-style.css">
<style>
.input-action {
margin-top: 2rem;
}
</style>
</head>
<body class="calc-page">
<div class="card card--center">
<div class="card__header">
<h2> Least Common Denominator Calculator </h2>
</div>
<div id="errorAlert"></div>
<div class="card__body card__body--flex-row" id="cardBody">
<div>
<div class="input-group">
<span class="input-addon"> Enter Numerator of First Fraction </span>
<input onkeypress="onkeyPressFun()" type="text" name="inputNumberFirst" id="inputNumberFirst"
required>
</div>
<div class="input-group">
<span class="input-addon"> Enter Denominator of First Fraction </span>
<input onkeypress="onkeyPressFun()" type="text" name="inputNumberSecond" id="inputNumberSecond"
required>
</div>
<div class="input-group">
<span class="input-addon"> Enter Numerator of Second Fraction </span>
<input onkeypress="onkeyPressFun()" type="text" name="inputNumberThird" id="inputNumberThird"
required>
</div>
<div class="input-group">
<span class="input-addon"> Enter Denominator of Second Fraction </span>
<input onkeypress="onkeyPressFun()" type="text" name="inputNumberFourth" id="inputNumberFourth"
required>
</div>
<div class="input-action">
<button onclick="calculateFun()">Calculate</button>
<div onclick="resetFun()" class="input-reset">
<img src="https://cdn.testbook.com/images/reset-icon.svg" width="24" height="24" />
</div>
</div>
<div class="input-group">
<span class="input-addon"> Least Common Denominator (LCD) = </span>
<input type="text" name="resultBox" disabled value="" id="resultBox">
</div>
</div>
</div>
</div>
<script type="text/javascript" src="./script/tb-calc-type-59.js"></script>
</body>
</html>