-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (47 loc) · 2.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;700&display=swap" rel="stylesheet">
<script src="https://code.jquery.com/jquery-3.6.1.min.js" integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="style.css" />
<title>Calculator with jquery</title>
</head>
<body>
<form class="form">
<div class="output">
<input class="output1" id = "result1" type ="text" name = "output" ></input>
<input class="output1" id = "result" type ="text" name = "output" ></input>
</div>
<input type = "button" id="ac" class="equal" value="AC" ></input>
<input type="button"id="divid" class="fun" value="/" "></input>
<input type="button" id="multi"class="fun" value="*" "></input>
<br>
<input type="button" class="num" value="7" ></input>
<input type="button" class="num" value="8" ></input>
<input type="button" class="num"value="9" ></butotn>
<input type="button" id="minus" class="fun" value="-" ></input>
<br>
<input type="button" class="num" value="4" ></input>
<input type="button" class="num" value="5" ></input>
<input type="button" class="num" value="6" ></input>
<input type="button"id="plus" class="fun" value="+" ></input>
<br>
<input type="button" class="num" value="1" ></input>
<input type="button" class="num" value="2" ></input>
<input type="button" class="num" value="3" > </input>
<input type="button" id="percentage" class="fun" value="." ></input>
<br>
<input type="button" class="equal1 num " value="0" "></input>
<input type="button"id="equal" class="equal" value="=" ></input>
<br>
<p style="margin-top: 2px; font-size: smaller; float:right">Developed by LHS</p>
</form>
<script src="style.js">
</script>
</body>
</html>