-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
62 lines (47 loc) · 1.78 KB
/
index.html
File metadata and controls
62 lines (47 loc) · 1.78 KB
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
<!-- Author: Gabby -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gabby's Graph Builder</title>
<link href="normalize.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;600&display=swap" rel="stylesheet">
</head>
<body>
<div class="wrapper">
<div class="side left">
<div class="centered">
<h1 id="h1">Welcome To Gabby's Graph Builder</h1>
<p id="h1">This graph x & y axis limits are from - 10 to 20 </p>
<canvas id="cumulatedView" width="340" height="340"></canvas>
</div>
</div>
<div class="side right">
<div class="centered">
<p>Enter a start point and a finish point to build a line between them. This way you can build a custom graph.</p>
<label for="sx">Start point</label><br><br>
<label for="sx">x :</label>
<input type="number" id="x" name="sx"><br><br>
<label for="sy">y :</label>
<input type="number" id="y" name="sy"><br><br>
<label for="fx">Finish point</label><br><br>
<label for="fx">x :</label>
<input type="number" id="x1" name="fx"><br><br>
<label for="fy">y :</label>
<input type="number" id="y1" name="fy"><br><br>
<button onclick="add(), printPoints()">ADD</button>
<button onClick="window.location.reload();">Restart</button>
<button onclick="circle()">Demo Circle</button>
<div>
<p>Points Displayed : </p>
<p id="points"></p>
</div>
</div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>