js-calculator/index.html

43 lines
1.5 KiB
HTML
Raw Normal View History

2022-05-02 23:00:58 +03:00
<!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="main.js"></script>
</body>
</html>