-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
68 lines (60 loc) · 2.21 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
<!DOCTYPE html>
<html lang="en-GB">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Crime watch</title>
<meta name="description" content="App using Zoopla and Police UK APIs" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="style.css" />
<link
href="https://fonts.googleapis.com/css?family=Roboto&display=swap"
rel="stylesheet"
/>
</head>
<header>
<h1 class="title">How safe is your area?</h1>
</header>
<body>
<section class="outer-container">
<section class="input-container">
<label for="searchfield">Write postcode:</label>
<input type="text" name="searchfield"
class="search-field"
id="searchfield"
placeholder="Enter your Postcode"
required
/>
<label for="month">Select month:</label>
<select id="month" class="dropdown">
<option value="01" selected>January</option>
<option value="02">Feburary</option>
<option value="03">March</option>
<option value="04">April</option>
<option value="05">May</option>
<option value="06">June</option>
<option value="07">July</option>
<option value="08">August</option>
<option value="09">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select>
<label for="year">Select year:</label>
<select id="year" class="dropdown">
<option value="2019" selected>2019</option>
<option value="2018">2018</option>
<option value="2017">2017</option>
</select>
<button class="search-button" id="searchbutton">Search</button>
</section>
<section class="result">
<article id="container" class="container">
<h1>Your Results</h1>
<p class="numberOfCrimes">Number of crimes:</p>
<ul class="categoriesOfCrimes">Categories of crimes in your area:</ul>
</article>
</section>
<script src="index.js"></script>
</body>
</html>