2023-02-28 13:11:24 +04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>Интернет программирование</title>
|
|
|
|
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
|
|
|
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
|
|
|
|
<link href="node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"/>
|
|
|
|
<script src="scripts.js"></script>
|
|
|
|
</head>
|
|
|
|
<body class="ms-3">
|
|
|
|
<h3 class="mt-2">Вычисления</h3>
|
|
|
|
<div class="d-flex form-group">
|
2023-03-27 21:58:26 +04:00
|
|
|
<label class="m-2" for="obj1Input">Поле 1:</label>
|
|
|
|
<input class="w-25" id="obj1Input" placeholder="Введите...">
|
|
|
|
<label class="m-2" for="obj2Input">Поле 2:</label>
|
|
|
|
<input class="w-25" id="obj2Input" placeholder="Введите...">
|
|
|
|
<select class="custom-select w-auto ms-3" id="typeSelect">
|
|
|
|
<option value="int">Числа</option>
|
|
|
|
<option value="str">Строки</option>
|
|
|
|
<option value="arr">Массив</option>
|
|
|
|
</select>
|
2023-02-28 13:11:24 +04:00
|
|
|
</div>
|
|
|
|
<div>
|
2023-03-27 21:58:26 +04:00
|
|
|
<button id = "1" class="btn btn-primary w-auto mt-2 ms-3" onclick="Okclick(this.id)">+</button>
|
|
|
|
<button id = "2" class="btn btn-primary w-auto mt-2 ms-3" onclick="Okclick(this.id)">-</button>
|
|
|
|
<button id = "3" class="btn btn-primary w-auto mt-2 ms-3" onclick="Okclick(this.id)">*</button>
|
|
|
|
<button id = "4" class="btn btn-primary w-auto mt-2 ms-3" onclick="Okclick(this.id)">%</button>
|
2023-02-28 13:11:24 +04:00
|
|
|
</div>
|
|
|
|
<a id="res"></a>
|
|
|
|
</body>
|
|
|
|
</html>
|