IP_PIbd-21_Sergeev_N.I./Front/index.html

40 lines
1.6 KiB
HTML
Raw Normal View History

2023-02-13 17:27:49 +04:00
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<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>Document</title>
</head>
<body>
<form id="frm-items" class="row g-3">
<div class="d-flex flex-column w-25 my-5 mx-3">
Введите первое число
<input id="first"></input>
Введите второе число
<input id="second" ></input>
2023-02-13 17:27:49 +04:00
Выберите операцию
<div>
<button type="button" class="btn btn-primary" id="buttonPlus">+</button>
<button type="button" class="btn btn-primary" id="buttonMinus">-</button>
<button type="button" class="btn btn-primary" id="buttonMulti">*</button>
<button type="button" class="btn btn-primary" id="buttonDiv">/</button>
</div>
Выберите тип данных
<div>
<select id="type" class="form-select" >
<option value="int">Число</option>
<option value="string">Строка</option>
</select>
</div>
2023-02-13 17:27:49 +04:00
Результат
<input id="res" type="text"></input>
2023-02-13 17:27:49 +04:00
</div>
</form>
<script src="/script.js"></script>
</body>
</html>