js-calculator/index.html
2022-05-03 12:39:52 +03:00

43 lines
1.6 KiB
HTML

<!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="stylesheet" href="main.css">
<title>Calculator</title>
</head>
<body>
<div class="container">
<div class="calculator">
<div class="screen">
<div id="dis_sml" class="display_sml"></div>
<div id="dis_big" class="display_big"></div>
</div>
<div class="buttons">
<button value="ADD">+</button>
<button value="SUB">-</button>
<button value="MUL">*</button>
<button value="DIV">/</button>
<button value="1">1</button>
<button value="2">2</button>
<button value="3">3</button>
<button value="ACC" class="ac">AC</button>
<button value="4">4</button>
<button value="5">5</button>
<button value="6">6</button>
<button value="DEL">DEL</button>
<button value="7">7</button>
<button value="8">8</button>
<button value="9">9</button>
<button value="NEG">+/-</button>
<button value="DOT">.</button>
<button value="0">0</button>
<button value="EQU" class="eq">=</button>
</div>
</div>
</div>
<script src="calculator.js"></script>
<script src="main.js"></script>
</body>
</html>