IP_Ismailov_Pibd-22/front/index.html
2023-03-06 15:16:40 +04:00

44 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./node_modules/bootstrap/dist/css/bootstrap.min.css">
<title>Калькулятор</title>
</head>
<body class="m-5">
<h1>Калькулятор</h1>
<form class="" id="form">
<div class="row my-3">
<div class="col-md-3">
<input name="num1" input type="text" class="form-control" placeholder="Первый аргумент">
</div>
<div class="col-md-3">
<input name="num2" input type="text" class="form-control" placeholder="Второй аргумент">
</div>
<div class = "col-md-2">
<select class="form-select" name="selected" aria-label="Default select example">
<option selected>Действие</option>
<option value="1">+</option>
<option value="2">-</option>
<option value="3">*</option>
<option value="4">/</option>
<option value="5">%</option>
<option value="6">con</option>
</select>
</div>
</div>
<button type="submit" class="btn btn-success">Выполнить</button>
<div class="my-2 col-md-3">
<input name="res" input type="text" class="form-control " placeholder="Результат">
</div>
</form>
<script src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="../js/script.js"></script>
</body>
</html>