PIbd-23_Sergunov_M.A._IP/MainPage/MainPage.html

46 lines
1.5 KiB
HTML
Raw Permalink Normal View History

2023-04-11 11:14:56 +04:00
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<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" />
<title>MainPage</title>
</head>
<body>
<form class=" d-flex flex-column align-items-center text-center">
<div class="">
Введите число
2023-05-01 23:02:20 +04:00
<input id="val1" class="form-control" type="numberF" value="0" />
2023-04-11 11:14:56 +04:00
</div>
<div>
Выберите действие
<select class="form-select" id="operation">
<option value="1">умножить</option>
2023-05-01 23:02:20 +04:00
<option value="2">сложить</option>
<option value="3">вычесть</option>
<option value="4">делить</option>
2023-04-11 11:14:56 +04:00
</select>
</div>
<div>
Введите второе число
2023-05-01 23:02:20 +04:00
<input id="val2" class="form-control" type="numberF" value="0" />
2023-04-11 11:14:56 +04:00
</div>
<div>
<button type="button" class="btn btn-primary" id="operate">Вычислить</button>
</div>
2023-05-01 23:02:20 +04:00
<div>
<button type="button" class="btn btn-primary" id="operateF">Вычислить вещественное</button>
</div>
<div>
<button type="button" class="btn btn-primary" id="operateString">Строки</button>
</div>
2023-04-11 11:14:56 +04:00
<div>
Результат:
<p id="finish"></p>
</div>
2023-05-01 23:02:20 +04:00
<script src="LogForMainPage.js"></script>
2023-04-11 11:14:56 +04:00
</body>