-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
98 lines (60 loc) · 2.62 KB
/
index.html
File metadata and controls
98 lines (60 loc) · 2.62 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>cyberPet</title>
</head>
<!---Index-->
<body>
<div id = "mainContainerIndex">
<h1 id = 'mainTitle'> Virtual Pet</h1>
<div class = "screenIndex">
<p class = "selectPet"> Click to Select Your Pet</p>
<div id = "petButtonContainer">
<button id = 'catPic'><img class= "pics" src="https://cdn.dribbble.com/users/26232/screenshots/2833060/media/f705417febaa8931bf12b1f64630d82a.gif" alt="link"><audio id = "audioCat" autoplay = "false"></audio</button> <!---select better images-->
<button id = 'slothPic'><img class= "pics"src="https://i.pinimg.com/originals/f5/83/9f/f5839f637f02fbc1f59455a95d632e39.gif" alt="link"><audio id = "audioSloth" autoplay = "false"></audio</button>
<button id ='alienPic'><img class= "pics" src="https://cdn.dribbble.com/users/1438727/screenshots/9340805/media/063c0d61152c5cccddbade49f95605b9.gif" alt="link"><audio id = "audioAlien" autoplay = "false"></audio</button>
<p><span class="window"></span><span id="insert-name"></span></p>
</div>
</div>
</div>
<!---Cyber pet title-->
<h2 id = 'gameTitle'>Your Cyber Pet</h2>
<!---Re-start button-->
<button id = "restart">Start Again</button>
<div id = 'game'>
<p id= "message"></p>
<!---Cat-->
<div id = "catContainer">
<div id="screen">
<img id = "catImage" src = "https://cdn.dribbble.com/users/26232/screenshots/2833060/media/f705417febaa8931bf12b1f64630d82a.gif"> <!---add image-->
</div>
</div>
<!---Sloth-->
<div id = "slothContainer">
<div id="screenSloth">
<img id = "slothImage" src = "https://i.pinimg.com/originals/f5/83/9f/f5839f637f02fbc1f59455a95d632e39.gif" alt = "sloth image"> <!---add image-->
</div>
</div>
<!---Alien-->
<div id = "alienContainer">
<div id="screenAlien">
<img id = "alienImage" src = "https://cdn.dribbble.com/users/1438727/screenshots/9340805/media/063c0d61152c5cccddbade49f95605b9.gif"> <!---add image-->
</div>
</div>
</div>
<!---action button-->
<div id = "buttonContainer">
<button id="feedBtn">Feed</button>
<button id="sleepBtn">Sleep</button>
<button id="playBtn">Play</button>
<button id="pokeBtn">Poke</button>
</div>
<script src = app.js></script>
<script src = petapp.js></script>
</body>
</html>
<!-- changed message class to id and moved buttons to the bottom of the screen -->