PIbd-22_Karamushko_M_K_IP_Labs/frontend/index.html

46 lines
1.6 KiB
HTML
Raw Permalink Normal View History

2023-02-18 20:01:28 +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>Document</title>
</head>
<body>
<form class="" id="form">
<h2>Калькулятор</h2>
<div class="container row">
<div class="form-group col-3">
<label for="formGroupExampleInput">X</label>
2023-02-27 17:42:27 +04:00
<input name="x" class="form-control col-3" placeholder="Первый аргумент">
2023-02-18 20:01:28 +04:00
</div>
<div class="form-group col-3">
<label for="formGroupExampleInput">Оператор</label>
<select name="selected" id="inputState" class="form-control">
<option selected>+</option>
<option>-</option>
<option>*</option>
<option>/</option>
</select>
2023-02-27 17:42:27 +04:00
<select name="type" id="inputState" class="form-control">
<option selected>Int</option>
<option>String</option>
<option>Array</option>
</select>
2023-02-18 20:01:28 +04:00
</div>
<div class="form-group col-3">
<label for="formGroupExampleInput2">Y</label>
<input name="y" type="number" class="form-control col-3" placeholder="Второй аргумент">
</div>
</div>
<button type="submit" class="btn btn-primary m-3">Посчитать</button>
</form>
<h2 class="text" id="res"></h2>
<script src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="../js/script.js"></script>
</body>
</html>