-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
67 lines (56 loc) · 2.63 KB
/
index.html
File metadata and controls
67 lines (56 loc) · 2.63 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
63
64
65
66
67
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>drawing game</title>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="static/assets/favicon.ico">
<link rel="stylesheet" href="static/css/style.css">
</head>
<body>
<dialog id="warning-modal">
<form id="warning-modal__form" class="form" method="dialog">
<h1 class="modal-heading">Placeholder text</h1>
<p class="modal-description">
This text should not appear. If it does, contact the site administrator.
</p>
<button id="modal-abort" class="btn btn--danger" name="abort" value="true">
Abort
</button>
<button id="modal-accept" class="btn btn--success" name="confirm" value="true">
Create Grid
</button>
</form>
</dialog>
<main>
<article class="content">
<h1 class="mt-1">Grid Draw</h1>
<form class="form" action="#">
<label for="grid-size-input">
Grid size (e.g 5 for a 5x5 grid):
</label>
<input id="grid-size-input" type="number" min="1">
<div class="mt-05">
<button id="reset-area-button" class="btn btn--danger">
Reset Grid
</button>
<button id="fill-area-button" class="btn btn--success ml-05">
Create Grid
</button>
</div>
</form>
<!-- todo: accessibility -->
<div id="drawing-area">
<p class="drawing-area__welcome-text">
Create your grid
</p>
</div>
</article>
</main>
<script src="static/js/main.js"></script>
</body>
</html>