WebProg/front/index.html
2023-03-07 08:34:30 +04:00

55 lines
2.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Главная</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script src="main.js"></script>
</head>
<body>
<h3 class="my-3 ms-3"> LabWork01 </h3>
<input class="my-3 ms-3" id="ilovetextfield">
<button type="button"class="btn btn-primary my-3 ms-3" id = "ilovebutton" onclick="iloveclick()">Готово</button>
<br>
<input class="my-3 ms-3" id="asktextfield">
<button type="button"class="btn btn-primary my-3 ms-3" id = "askbutton" onclick="askclick()">Спросить</button>
<br>
<input class="my-3 ms-3" id="uppertextfield">
<button type="button"class="btn btn-primary my-3 ms-3" id = "upperbutton" onclick="upperclick()">Поднять</button>
<br>
<h3 class="ms-3 my-3"> LabWork02</h3>
<input class="my-3 ms-3" id="sum_first_tf">
<span> + </span>
<input class="my-3" id="sum_second_tf">
<button type="button"class="btn btn-primary my-3 mx-3" id="sum_button" onclick="sumLab2('String')"> Сумма строк</button>
<button type="button"class="btn btn-primary my-3 mx-3" id="sum_button" onclick="sumLab2('int')"> Сумма чисел</button>
<span> = </span>
<span class="border border-primary my-3 ms-3 p-3" id="sum_result">Тут будет результат</span>
<br>
<input class="my-3 ms-3" id="makeitbigger_tf">
<button type="button"class="btn btn-primary my-3 ms-3" id="makeitbigger_button" onclick="makeItBiggerLab2('String')">Увеличить строку</button>
<button type="button"class="btn btn-primary my-3 ms-3" id="makeitbigger_button" onclick="makeItBiggerLab2('int')">Увеличить число</button>
<br>
<input class="my-3 ms-3" id="reverse_tf">
<button type="button"class="btn btn-primary my-3 ms-3" id="reverse_button" onclick="reverseLab2('String')">Наоборот строка</button>
<button type="button"class="btn btn-primary my-3 ms-3" id="reverse_button" onclick="reverseLab2('int')">Наоборот число</button>
<br>
<input class="my-3 ms-3" id="lenght_tf">
<button type="button"class="btn btn-primary my-3 ms-3" id="lenght_button" onclick="lenghtLab2('String')">Длина строки</button>
<button type="button"class="btn btn-primary my-3 ms-3" id="lenght_button" onclick="lenghtLab2('int')">Длина числа</button>
</body>
</html>