-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (73 loc) · 2.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
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
68
69
70
71
72
73
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>DinoGraphics</title>
<link rel="icon" href="favicon.svg" sizes="any" type="image/svg+xml">
<!-- Include Google fonts: Frijole, Open Sans, Oswald -->
<link href="https://fonts.googleapis.com/css?family=Frijole|Open+Sans|Oswald&display=swap" rel="stylesheet">
<!-- Normalize browser styles -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" rel="stylesheet">
<link href="app.css" rel="stylesheet">
<!-- Link to app.js with defer till HTML render -->
<script src="./app.js" type="module"></script>
</head>
<body>
<header>
<h2>
Natural History Museum
</h2>
<h1>
Dinosaurs
</h1>
<h3>
How do you compare?
</h3>
</header>
<!-- Form to get user input -->
<form id="dino-compare">
<div class="form-container">
<p>
Name:
</p>
<input id="name" class="form-field__full" type="name" name="name" required>
<p>
Height
</p>
<label>
Feet: <input id="feet" class="form-field__short" type="number" name="feet" min="0" required>
</label>
<label>
inches: <input id="inches" class="form-field__short" type="number" name="inches" min="0" required>
</label>
<p>
Weight:
</p>
<label>
<input id="weight" class="form-field__full" type="number" name="weight" min="0" required>
lbs
</label>
<p>
Diet:
</p>
<select id="diet" class="form-field__full" name="diet" required>
<option>Herbivore</option>
<option>Omnivore</option>
<option>Carnivore</option>
</select>
<input id="btn" type="submit" value="Compare Me!">
</div>
</form>
<!-- .grid to attach tiles to -->
<main id="grid">
</main>
<footer>
<!-- Include information source -->
<p class="fine-print">
Data Sourced from <a href="https://www.wikipedia.org/">Wikipedia.org</a>, all numbers are approximations.
</p>
</footer>
</body>
</html>