-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
77 lines (76 loc) · 3.09 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
75
76
77
<!DOCTYPE html>
<html lang="fr">
<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">
<link rel="stylesheet" href="style\index.css">
<link rel="stylesheet" href="style\menu.css">
<title>Polynomial converter</title>
<link id="icon-page" rel="icon" type="image/png" href="img/polynomial_icon.svg">
</head>
<body>
<div class="menu">
<button id="hamburger" onclick="menu()">
<img src="img/menu_hamburger.svg" width="48px" height="48px">
</button>
<nav id="nav" hidden>
<h3>Style :</h3>
<button class="nav-button" id="darkmode-button" onclick="darkmode()">
<img src="img/darkmode_white.svg" width="16px" height="16px">
Mode Sombre
</button>
<button class="nav-button" id="businessmode-button" onclick="businessmode()">
Business
</button>
<button class="nav-button" id="originalmode-button" onclick="originalmode()">
Original
</button>
</nav>
</div>
<div class="page" id="page">
<div class="bloc">
<div class="fixed-bloc">
<h2>f(x) = ax²+bx+c</h2>
<form id="form" >
<div>
<label>a =</label>
<input type="text" name="a" size="2" required>
</div>
<div>
<label>b =</label>
<input type="text" name="b" size="2" required>
</div>
<div>
<label>c =</label>
<input type="text" name="c" size="2" required>
</div>
</form>
<br/>
<button onclick="clic()">Calculer</button>
</div>
<div id=opened-bloc>
<p id="reponse" hidden>
Forme polynomiale: <span class='result' id="polynomial_field"></span><br>
Forme canonique: <span class='result' id="canonical_field"></span><br>
Forme factorisée: <span class='result' id="factorized_field"></span><br>
Delta: <span class='result' id="delta_field"></span><br>
Racine n°1 : <span class='result' id="root1_field"></span><br>
Racine n°2 : <span class='result' id="root2_field"></span><br>
Solutions de l'inéquation <span class="result" id="inequation_sign"></span> : <span class='result' id="inequation_solutions"></span><br>
</p>
</div>
<div id="graph">
</div>
<p class="copyright" id="copyright">© 2023 Mathys</p>
</div>
</div>
<div id="overlay" onclick="menu()" hidden></div>
</body>
<footer>
</footer>
</html>
<script src="scripts\clic.js"></script>
<script src="scripts\zoom.js"></script>
<script src="scripts\courbe.js"></script>
<script src="scripts\menu.js"></script>