33 lines
1.3 KiB
HTML
33 lines
1.3 KiB
HTML
<!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>
|
|
Результат
|
|
<input id="res"></input>
|
|
</div>
|
|
</form>
|
|
<script src="script.js"></script>
|
|
</body>
|
|
</html> |