forked from Lia-mon/hackathon-serres
-
Notifications
You must be signed in to change notification settings - Fork 0
/
start.html
58 lines (54 loc) · 1.35 KB
/
start.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
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Tiles - Ser Hackathon 5</title>
<style>
body{
background-color : #f0efef;
max-width: 70%;
margin:auto;
}
canvas{
border: 2px solid black;
border-radius: 4px;
background-color: #b8b8b8;
}
.grid_fields{
max-width: 35%;
max-height: fit-content;
margin-top: 5px;
margin-bottom: 5px;
}
.gridputs{
overflow-x: scroll;
}
.form input[type="number"] {
width: 50px;
}
</style>
<script type ="text/javascript" src="script.js"></script>
</head>
<body>
<p>Hello :D, This will be our grid we can basically put things in here yay :D</p>
<!-- TODO remove border added for visualization -->
<div class="form">
<label for="guessField">Width: </label>
<input type="number" min="1" max="100" required id="guessField" class="guessField">
<label for="guessField">Height: </label>
<input type="number" min="1" max="100" required id="guessField" class="guessField">
</div>
<!--
<div class="grid_fields" style="border: 1px solid black">
Enter grid's width:
<input type="number" min="1" id="grid-width" class="gridputs">
</div>
<div class="grid_fields">
Enter grid's height:
<input type="number" id="grid-height" class="gridputs">
</div> -->
<div id="canvas_div">
<canvas id="canvas">
</canvas>
</div>
</body>
</html>