-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (45 loc) · 2.03 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Melissa Lafranchise">
<meta name="description" content="Simple asynchronous web app that calls the National Parks Services
API, searches for parks in one or more states, and adds some resulting info about each resulting
to the DOM.">
<title>Find Parks Nearby</title>
<!--Normalize css-->
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/4.1.1/normalize.min.css">
<!--Link to Google Fonts-->
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<!--Link to custom css-->
<link rel="stylesheet" type="text/css" href="index.css">
</head>
<body>
<header>
<h1>Find parks near your vacation destination</h1>
</header>
<main>
<form class="js-form-submit">
<label class="input-styles" for="states">Enter the state or states you want to search (use two letter abbreviations):
<input type="text" id="states" name="states" required pattern="\S+" placeholder="WA,NY">
</label>
<label class="input-styles" for="max-results">Enter the number of results you'd like to see:
<input type="number" id="max-results" name="max-results"
min="1" required value="10">
</label>
<button type="submit">Find parks</button>
</form>
<section class="js-results hidden">
</section>
</main>
<!--Links to jQuery, config file and local Javascript files-->
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<!-- Unnecessary script file...was trying to keep apiKey hidden from GitHub.
<script type='text/javascript' src='config.js'></script> -->
<script src="index.js"></script>
</body>
</html>