forked from awesomescot-zz/jqueryfunhouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (30 loc) · 1.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
<!DOCTYPE html>
<html>
<head>
<title>jQuery Fun House Starter Code</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="index.js"></script>
<link rel="stylesheet" type="text/css" href="index.css" media="screen" />
</head>
<body>
<div class="section">
<h1>What is your name?
<input id="name">
</h1>
<div>
<button id="submit-name" value="That's my name">That's my name</button>
</div>
<p id="greeting">Hi </p>
</div>
<div class="section">
<button id="change-color">Change the page's color!</button>
</div>
<div class="section" id="gallery">
<h1>Pictures of elephants</h1>
<img class="gallery-thumb" id="pic1" src="https://upload.wikimedia.org/wikipedia/commons/f/f9/Loxodonta_africana_-_old_bull_(Ngorongoro,_2009).jpg">
<img class="gallery-thumb" id="pic2" src="https://upload.wikimedia.org/wikipedia/commons/6/63/African_elephant_warning_raised_trunk.jpg">
<img class="gallery-thumb" id="pic3" src="https://iso.500px.com/wp-content/uploads/2014/08/2048-5.jpg">
<img id="gallery-main" src="www.fake.com">
</div>
</body>
</html>