83 lines
3.3 KiB
HTML
Raw Normal View History

2023-03-11 21:31:18 +04:00
2023-02-14 11:27:41 +04:00
<!DOCTYPE html>
2023-03-27 13:57:17 +04:00
<html xmlns:background="http://www.w3.org/1999/xhtml">
2023-02-14 11:27:41 +04:00
<head>
<meta charset="UTF-8">
2023-03-11 21:31:18 +04:00
<title>Calculator</title>
<!-- Подключаем Bootstrap CSS -->
<script src="/node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="/node_modules/bootstrap/dist/css/bootstrap.min.css">
2023-03-27 13:57:17 +04:00
<style>
.btn{
background: aquamarine;
}
</style>
2023-02-14 11:27:41 +04:00
</head>
<body>
2023-03-11 21:31:18 +04:00
<div class="container mt-4">
<div class="row justify-content-center">
<div class="col-lg-6">
<div class="card shadow-lg">
<div class="card-header">
<h3 class="text-center font-weight-light my-2">IP</h3>
</div>
<div class="card-body">
<form>
<div class="form-row">
<div class="col">
<div class="form-group">
2023-03-27 13:57:17 +04:00
<label for="input1">Value 1</label>
<input type="text" class="form-control" id="input1" placeholder="Enter Value 1">
2023-03-11 21:31:18 +04:00
</div>
</div>
<div class="col">
<div class="form-group">
2023-03-27 13:57:17 +04:00
<label for="input2">Value 2</label>
<input type="text" class="form-control" id="input2" placeholder="Enter Value 2">
2023-03-11 21:31:18 +04:00
</div>
</div>
<div class="col">
<div class="form-group">
2023-03-27 13:57:17 +04:00
<label for="operator">Method</label>
<select class="form-control" id="operator">
<option value="Sum">+</option>
<option value="Min">-</option>
<option value="Mul">*</option>
<option value="Del">/</option>
</select>
2023-03-11 21:31:18 +04:00
</div>
</div>
<div class="col">
<div class="form-group">
2023-03-27 13:57:17 +04:00
<label for="operator">Type</label>
<select class="form-control" id="Type">
<option value="int">Integer</option>
<option value="str">String</option>
<option value="arr">Array</option>
2023-03-11 21:31:18 +04:00
2023-03-27 13:57:17 +04:00
</select>
2023-03-11 21:31:18 +04:00
</div>
</div>
2023-03-27 13:57:17 +04:00
<button type="button" class="btn" onclick="getResult()">Result</button>
2023-03-11 21:31:18 +04:00
</div>
<div class="form-group">
<label for="result">Result</label>
<input type="text" class="form-control result" id="result" readonly>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<script src = "script.js"></script>
2023-02-14 11:27:41 +04:00
</body>
2023-03-11 21:31:18 +04:00
</html>