-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (63 loc) · 4.28 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calcul Manivelle</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
margin: 0;
padding: 20px;
}
.container {
max-width: 600px;
margin: auto;
padding: 20px;
background-color: white;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
input, select {
width: 100%;
padding: 10px;
margin: 10px 0;
border-radius: 5px;
border: 1px solid #ddd;
}
button {
background-color: #007BFF;
color: white;
padding: 10px;
border: none;
cursor: pointer;
width: 100%;
}
button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div class="container">
<h1>Calcul de la Hauteur de la Manivelle</h1>
<label for="hauteur_pedalier">Hauteur du Pédalier (mm):</label>
<input type="number" id="hauteur_pedalier" value="275">
<label for="longueur_manivelle">Longueur de la Manivelle (mm):</label>
<select id="longueur_manivelle">
<option value="165">165 mm</option>
<option value="170">170 mm</option>
<option value="172.5">172.5 mm</option>
<option value="175">175 mm</option>
</select>
<label for="angle_manivelle">Angle de la Manivelle (degrés):</label>
<input type="number" id="angle_manivelle" value="25" min="0" max="25">
<label for="inclinaison_velo">Inclinaison du Vélo (degrés):</label>
<input type="number" id="inclinaison_velo" value="10" min="0" max="15">
<button onclick="calculerHauteur()">Calculer la Hauteur</button>
<h2 id="resultat"></h2>
</div>
<script src="script.js"></script>
</body>
</html>