IP_Ismailov_Pibd-22/front/index.html

49 lines
1.8 KiB
HTML
Raw Normal View History

2023-03-06 15:16:40 +04:00
<!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">
2023-04-02 23:49:02 +04:00
<option value="1">Сложение</option>
<option value="2">Вычитание</option>
<option value="3">Переворачивание</option>
<option value="4">Сравнение</option>
2023-03-06 15:16:40 +04:00
</select>
</div>
2023-04-02 23:49:02 +04:00
<div class="col-md-2">
<select id="type" class="form-select" >
<option value="int">Число</option>
<option value="string">Строка</option>
</select>
</div>
2023-03-06 15:16:40 +04:00
</div>
<button type="submit" class="btn btn-success">Выполнить</button>
<div class="my-2 col-md-3">
2023-04-02 23:49:02 +04:00
<input name="res" input type="text" class="form-control " placeholder="Результат">
2023-03-06 15:16:40 +04:00
</div>
2023-04-02 23:49:02 +04:00
2023-03-06 15:16:40 +04:00
</form>
<script src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="../js/script.js"></script>
</body>
</html>