Ura - 03. 12. 2022

This commit is contained in:
2022-12-03 17:42:56 +01:00
commit ab74551321
4 changed files with 107 additions and 0 deletions

33
index.html Normal file
View File

@@ -0,0 +1,33 @@
<!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" />
<title>Spletne</title>
<link rel="stylesheet" href="style.css" />
<script src="index.js" defer></script>
</head>
<body>
<h1>Dinamične tabele</h1>
<form name="bmi-form">
Višina: <input type="text" name="height" /> cm
<br />
Teža: <input type="text" name="weight" /> kg
<br />
<input id="submit" type="submit" value="Dodaj" />
</form>
<br />
<table id="bmi-table">
<tr>
<th>Višina (cm)</th>
<th>Teža (kg)</th>
<th>BMI</th>
<th>Status</th>
</tr>
</table>
</body>
</html>