-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (64 loc) · 2.84 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
74
75
76
77
78
79
80
81
<!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">
<title>Hackathon</title>
<link href="bootstrap.min.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-custom">
<h1 id="title" class="container">FUCK OFF COMPANIES</h1>
</nav>
<div class="container background">
<div style="height: 40px;"></div>
<form id="form" name="form" action="">
<label>How do you commute?</label>
<div class="form-check">
<input class="form-check-input" type="radio" name="commute" id="commute1" value="train" checked>
<label class="form-check-label" for="commute1">
Train
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="commute" id="commute2" value="bus">
<label class="form-check-label" for="commute2">
Bus
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="commute" id="commute3" value="car">
<label class="form-check-label" for="commute3">
Car
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="commute" id="commute4" value="walking">
<label class="form-check-label" for="commute4">
Walking / Cycling
</label>
</div>
<div class="form-group">
<label for="distance">How far is your workplace? <small>(in kms)</small></label>
<input type="number" id="distance" class="form-control" value="0">
</div>
<div class="form-group">
<label for="flights">How many hours do you spend flying? <small>(per month)</small></label>
<input type="number" id="flighs" class="form-control" value="0">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
<div class="loader d-none" id="loader"></div>
<div id="output" class="d-none">
<h3 class="text-center">Results: </h3>
<p>OUTPUT</p>
</div>
<div style="height: 100px;"></div>
</div>
<script src="code.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="bootstrap.min.js"></script>
</body>
</html>