-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (64 loc) · 2.08 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
<!DOCTYPE html>
<html>
<head>
<title>The Gallery of Horns</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/layout.css">
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/modules.css">
<link href="https://fonts.googleapis.com/css?family=Lora&display=swap" rel="stylesheet">
<script id="lab03Handlebars" type="text/x-handlebars-template">
<div class={{keyword}}>
<!-- found how to dynamically add images per handlebars -->
<h2>{{title}}</h2>
<img src="{{image_url}}">
<p>{{description}}</p>
</div>
</script>
</head>
<body>
<header>
<h1>The Gallery of Horns</h1>
<select>
<option value="default">Filter by Keyword</option>
</select>
<nav>
<ul>
<li>
<a href="index.html">Page 1</a>
</li>
<li>
<a href="page2.html">Page 2</a>
</li>
</ul>
</nav>
<section id="filter-buttons">
<form>
<fieldset>
<div id= "name-button">
<input type="radio" id="choose-name" name="button" value= "filter-by-title">
<label for="choose-name">Filter By Name</label>
</div>
<div id="horns-button">
<input type="radio" id="choose-horns" name="button" value="filter-by-numhorns">
<label for="choose-horns">Filter By Number of Horns</label>
</div>
</fieldset>
</form>
</section>
</header>
<main>
<section id="photo-template">
</section>
</main>
<footer>
© 2018 Code Fellows
</footer>
<script src="https://cdn.jsdelivr.net/npm/handlebars@latest/dist/handlebars.js"></script>
<script src="https://code.jquery.com/jquery-3.4.1.js"
integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU="
crossorigin="anonymous"></script>
<script type="text/javascript" src="js/app.js"></script>
</body>
</html>