-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (35 loc) · 1.45 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
<!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>Line Drawer</title>
<link rel="stylesheet" href="./style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
</head>
<body>
<header>
<h1>Line Drawer(DDA)</h1>
</header>
<main>
<div class="input-fields">
<form id="grid-form">
<input required min="1" max="20" type="number" name="" id="row" placeholder="row">
<input required min="1" max="20" type="number" name="" id="col" placeholder="col">
<input class="draw-button" type="submit" value="Draw Grid" id="draw-grid-button" />
</form>
<form id="form">
<input required min="0" type="number" name="" id="x0" placeholder="x0">
<input required min="0" type="number" name="" id="y0" placeholder="y0">
<input required min="0" type="number" name="" id="x1" placeholder="x1">
<input required min="0" type="number" name="" id="y1" placeholder="y1">
<input class="draw-button" type="submit" value="Draw Line" id="draw-button" />
</form>
</div>
<section id="box">
</section>
</main>
<script src="./app.js"></script>
</body>
</html>