-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathindex.html
99 lines (89 loc) · 3.81 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Cat Clicker!</title>
<meta name = "keywords" content = "Cat Clicker, Simple Javascript app, Cat photo click count" />
<meta name = "description" content="This is a simple JavaScript app that keeps track of the number of clicks on the selected photo.">
<meta name = "author" content = "JS-goose" />
<meta name ="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="./css/normalize.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ"
crossorigin="anonymous">
</head>
<body>
<section class="wrapper">
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="#">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<section class="title">
<h1>Cat Clicker App</h1>
</section>
<section class="catSelection">
<aside class="catSelection_modal">
<h1>Choose Your Cat:</h1>
<ul>
<li class="catItem gidget">
Gidget
</li>
<li class="catItem bethany">
Bethany
</li>
<li class="catItem rocket">
Rocket
</li>
<li class="catItem ginger">
Ginger
</li>
<li class="catItem nala">
Nala
</li>
</ul>
</aside>
<aside class="instructions">
<h1>Instructions:</h1>
<ol>
<li>No clicks recorded until you choose a cat</li>
<li>Choose a cat to click from the above menu</li>
<li>Click the cat image to increment the count</li>
<li>Count does not reset when changing cats </li>
</ol>
</aside>
</section>
<section class="catDisplay">
<h1 id="catName"></h1>
<!-- Placeholder image courtesy of Q'AILA on https://www.unsplash.com -->
<img src="./img/placeholder.jpg" alt="an image of a cat" class="imgDisplay" id="catClicker">
<article class="clicks">
<p>Number of clicks: <span id="numClicks"></span></p>
</article>
</section>
<footer class="footer">
<article class="trademark">
<h2>Built by me,
<a href="https://www.powerofgoose.com" target="_blank">Jonathan Sexton</a> © 2018
</h2>
</article>
<article id="social">
<a href="https://github.com/JS-goose" target="_blank">
<i class="fab fa-github-square"></i>
</a>
<a href="https://www.linkedin.com/in/jj-goose/" target="_blank">
<i class="fab fa-linkedin"></i>
</a>
<a href="https://twitter.com/jj_goose" target="_blank">
<i class="fab fa-twitter-square"></i>
</a>
</article>
</footer>
<script src="./js/clicker.js" async defer></script>
</section>
</body>
</html>