-
Notifications
You must be signed in to change notification settings - Fork 4
/
plant.html
34 lines (32 loc) · 1.26 KB
/
plant.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Interactive Plant Character</title>
<link rel="stylesheet" href="resource/plant.css">
</head>
<body>
<div id="container">
<canvas id="plantCanvas" width="400" height="400"></canvas>
<div id="controls">
<button id="dayNightMode">Toggle Day/Night Mode</button>
<button id="growthStage">Change Growth Stage</button>
<button id="waterPlant">Water Plant</button>
<button id="giveSun">Provide Sunlight</button>
<button id="fertilizePlant">Fertilize Plant</button>
<button id="playMusic">Play Music</button>
<button id="talkPlant">Talk to Plant</button>
<button id="showText">Show Text</button>
<button id="cuteButton">Cute</button>
<button id="showButterfly">Show Butterfly</button>
<button id="sleeping">Sleeping</button>
<button id="showNeedWater">Show "I need water"</button>
<button id="showNeedSun">Show "I need sun"</button>
<button id="idealButton">Ideal</button>
</div>
<div id="message"></div>
<div id="textDisplay"></div>
</div>
<script src="resource/plant.js"></script>
</body>
</html>