61 lines
2.6 KiB
HTML
61 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Лабораторная 1</title>
|
|
</head>
|
|
<body>
|
|
<div class="container-sm p-3">
|
|
<form id="calc">
|
|
<h2 class="text-center mb-3">Произведение</h2>
|
|
<div class="mb-3">
|
|
<div class="input-group mb-1">
|
|
<input type="number" class="form-control" placeholder="V1" aria-label="First Number" name="v1" autocomplete="off">
|
|
<span class="input-group-text">*</span>
|
|
<input type="number" class="form-control" placeholder="V2" aria-label="Second Number" name="v2" autocomplete="off">
|
|
<span class="input-group-text" id="calc_result">0</span>
|
|
<button type="submit" class="btn btn-primary">Подтвердить</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
<form id="toUpperCase">
|
|
<h2 class="text-center mb-3">Поднять регистр</h2>
|
|
<div class="mb-3">
|
|
<div class="input-group mb-1">
|
|
<input type="text" class="form-control" placeholder="String" aria-label="Your String" name="value" autocomplete="off">
|
|
<span class="input-group-text" id="tuc_result"></span>
|
|
<button type="submit" class="btn btn-primary">Подтвердить</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
<form id="split">
|
|
<h2 class="text-center mb-3">Разделить строку</h2>
|
|
<div class="mb-3">
|
|
<div class="input-group mb-1">
|
|
<input type="text" class="form-control" placeholder="String" aria-label="Your String" name="value" autocomplete="off">
|
|
<input type="text" class="form-control" placeholder="Separator" aria-label="Your String" name="sep" autocomplete="off">
|
|
<button type="submit" class="btn btn-primary">Подтвердить</button>
|
|
</div>
|
|
<span class="input-group-text" id="ss_result"></span>
|
|
</div>
|
|
</form>
|
|
|
|
<form id="toHex">
|
|
<h2 class="text-center mb-3">16-ая система</h2>
|
|
<div class="mb-3">
|
|
<div class="input-group mb-1">
|
|
<input type="number" class="form-control" placeholder="Number" aria-label="Your Number" name="value" autocomplete="off">
|
|
<span class="input-group-text" id="nth_result"></span>
|
|
<button type="submit" class="btn btn-primary">Подтвердить</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
</div>
|
|
<script type="module" src="main.js"></script>
|
|
</body>
|
|
</html>
|