32 lines
1.7 KiB
HTML
32 lines
1.7 KiB
HTML
<!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">
|
|
<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>
|
|
</div>
|
|
<div>
|
|
<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>
|
|
</div>
|
|
<a id="res"></a>
|
|
</body>
|
|
</html> |