-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (44 loc) · 2.27 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>Dobierz rozmiar swojego spadochronu</title>
<link rel="stylesheet" href="tooltip.css"/>
</head>
<body>
<div class="main">
<h1>Sprawdź jaką wielkość powinien mieć twój spadochron</h1>
<form onsubmit="return result()">
<div class="field">
<label>Waga (kg) <span class="tooltip"><img src="question.png"><span class="tooltiptext">Twoja masa ciała + waga sprzętu. Maksymalnie 120 kg</span></span></label>
<input type="number" id="weight" max="120" required>
</div>
<div class="field">
<label>Liczba skoków <span class="tooltip"><img src="question.png"><span class="tooltiptext">Maksymalnie 499</span></span></label>
<input type="number" id="jumps" max="499" required>
</div>
<div class="field">
<label>Liczba skoków w ostatnim roku</label>
<input type="number" id="jumpsperyear" required>
</div>
<div class="field">
<label>Wysokość n.p.m., na której położona jest strefa spadochronowa (m) </label>
<input type="number" id="altitude" required>
</div>
<div class="field">
<label>Czy chcesz skakać na spadochronie o obrysie eliptycznym? <span class="tooltip"><img src="question.png"><span class="tooltiptext">Niezalecane, jeśli masz mniej niż 300 skoków</span></span></label>
<div><input type="radio" id="ellipticalNo" name="elliptical" value="nie" required>Nie</div>
<div><input type="radio" id="ellipticalYes" name="elliptical" value="tak">Tak</div>
</div>
<div id="errorElliptical"></div>
<div>
<button type="submit" id="submit">Sprawdź</button>
</div>
</form>
<div class="results">
<p>Rozmiar: <span id="result"></span></p>
</div>
</div>
<script type="text/javascript" src="canopy.js"></script>
</body>
</html>