Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratham1253 authored Aug 23, 2024
1 parent cdf3e27 commit 2b0f80f
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
<html>
<head>
<title>My Calculator</title>
<link href="index.css" rel="stylesheet" />
</head>
<body>
<div class="calculator">
<input id="screen"/>
<div class="keypad">
<button>C</button>
<button>+-</button>
<button>%</button>
<button>/</button>
<button id="seven">7</button>
<button>8</button>
<button>9</button>
<button>X</button>
<button>4</button>
<button>5</button>
<button>6</button>
<button>-</button>
<button>1</button>
<button>2</button>
<button>3</button>
<button id="plus">+</button>
<button>0</button>
<button>.</button>
<button>=</button>
</div>
<head>
<title>Calculator - JS</title>
<link href="index.css" rel="stylesheet" />
</head>
<body>
<div class="calculator">
<input id="screen" />
<div class="keypad">
<button id="C" onnclick= "clear">C</button>
<button>+-</button>
<button>%</button>
<button>/</button>
<button id="seven" onclick="printSeven(7)">7</button>
<button>8</button>
<button>9</button>
<button >X</button>
<button>4</button>
<button>5</button>
<button>6</button>
<button>-</button>
<button>1</button>
<button>2</button>
<button>3</button>
<button id="plus">+</button>
<button>0</button>
<button>.</button>
<button>=</button>
</div>
<script src="index.js"></script>
</body>
</html>
</div>
<script src="index1.js"></script>
</body>
</html>


0 comments on commit 2b0f80f

Please sign in to comment.