generated from typography-and-interaction-too/template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (41 loc) · 1.31 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="assets/reset.css" rel="stylesheet">
<link href="assets/style.css" rel="stylesheet">
<link href="images/favicon.png" rel="icon">
<title>Some JavaScript</title>
<script src="assets/examples.js"></script>
</head>
<body>
<h1>Some JavaScript</h1>
<section>
<p>Often you’ll want to respond to a user’s interactions to change something else on the page.</p>
<button class="rounded-container">
<p>Click here</p>
</button>
<div class="lightbox hidden">
<img src="images/empire.jpg">
</div>
</section>
<section>
<p>Or maybe add a class to elements as they enter the viewport.</p>
<div class="grid">
<img src="images/crowd.jpg">
<img src="images/bridge.jpg">
<img src="images/rockefeller.jpg">
<img src="images/tavern.jpg">
<img src="images/kids.jpg">
<img src="images/plane.jpg">
<img src="images/brooklyn.jpg">
<img src="images/opera.jpg">
<img src="images/ferry.jpg">
<img src="images/billie.jpg">
<img src="images/sinclair.jpg">
</div>
</section>
<a id="source-link" class="rounded-container" href="https://github.com/typography-and-interaction-too/some-javascript">See the source code</a>
</body>
</html>