2023-02-13 18:06:15 +04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
|
|
|
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
|
|
|
|
<title>Калькулятор</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<input id="First" class="form-control" type="text" placeholder="Введите первое число" aria-label="readonly input example">
|
|
|
|
<input id="Second" class="form-control" type="text" placeholder="Ведите второе число" aria-label="readonly input example">
|
2023-02-27 18:01:53 +04:00
|
|
|
<select id="_Type" value="int" class="form-select form-select-sm" aria-label=".form-select-sm пример">
|
|
|
|
<option selected>Откройте это меню выбора</option>
|
|
|
|
<option value="int">Числа</option>
|
|
|
|
<option value="string">Строки</option>
|
|
|
|
</select>
|
2023-02-13 18:06:15 +04:00
|
|
|
|
|
|
|
<div>
|
|
|
|
<button id="Sum" type="button" class="btn btn-success">+</button>
|
|
|
|
<button id="Minus" type="button" class="btn btn-success">-</button>
|
|
|
|
<button id="Implement" type="button" class="btn btn-success">/</button>
|
|
|
|
<button id="Multiplication" type="button" class="btn btn-success">x</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="mb-3 row">
|
|
|
|
<label for="Result" class="col-sm-2 col-form-label">Итог: </label>
|
|
|
|
<div class="col-sm-10">
|
|
|
|
<input id="Result" class="form-control">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script src="items.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|