-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (64 loc) · 2.49 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Wildlife Genesis</title>
<link rel="stylesheet" href="./styles/app.css">
</head>
<body>
<div class="flex">
<!-- ADDING ANIMALS -->
<fieldset class="flex colonne width-100">
<legend class="padding-5">Animal</legend>
<div class="flex colonne">
<div class="flex padding-5">
<label for="txtNameAnimal">Name:</label>
<input type="text" id="txtNameAnimal" />
</div>
<div class="flex padding-5">
<label for="txtTypeAnimal">Type:</label>
<input type="text" id="txtTypeAnimal" />
</div>
<div class="flex padding-5">
<button id="btn-add-animal">➕ Animal</button>
</div>
</div>
</fieldset>
<!-- ADDING PLANTS -->
<fieldset class="flex colonne width-100">
<legend class="padding-5">Plant</legend>
<div class="flex colonne">
<div class="flex padding-5">
<label for="txtNamePlant">Name:</label>
<input type="text" id="txtNamePlant" />
</div>
<div class="flex padding-5">
<input type="checkbox" id="checkIsEatable" />
<label for="checkIsEatable">Eatable</label>
</div>
<div class="flex padding-5">
<button id="btn-add-plant">➕ Plant</button>
</div>
</div>
</fieldset>
</div>
<div class="flex width-100 justify-content-center">
<h3>Every second, based on statistics and random values, an animal can have multiple choices as well as plants.</h3>
</div>
<div class="flex width-100 justify-content-center">
<button id="btn-play-pause" class="is-primary">Play (spacebar)</button>
</div>
<div class="flex">
<div class="flex colonne is-self-start width-100">
<!-- Displaying the actual population -->
<div class="flex justify-content-center" id="population">
</div>
</div>
<div class="flex colonne is-self-start width-100 align-items-center" id="content">
<!-- GENERATED -->
</div>
</div>
<script src="./dist/bundle.js"></script>
</body>
</html>