2023-02-13 18:10:09 +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>Volt's Site</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>
|
|
|
|
Выберите операцию
|
|
|
|
<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>
|
2023-02-27 18:12:01 +04:00
|
|
|
Выберите тип данных
|
|
|
|
<div>
|
|
|
|
<select id="type" class="form-select" >
|
|
|
|
<option value="int">Число</option>
|
|
|
|
<option value="string">Строка</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
2023-02-13 18:10:09 +04:00
|
|
|
Результат
|
2023-02-27 18:12:01 +04:00
|
|
|
<input id="res" type="text"></input>
|
2023-02-13 18:10:09 +04:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<script src="script.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|