mirror of
https://github.com/MrEidam/PetPet.git
synced 2026-04-17 15:43:31 +00:00
39 lines
1.2 KiB
HTML
39 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="style.css">
|
|
<link rel="shortcut icon" href="" type="image/x-icon">
|
|
|
|
<title>PetPet</title>
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<div>
|
|
<h1><span>Junior</span>-<span>BOY</span></h1>
|
|
<p>Age: <span id="ageN">0</span></p>
|
|
<img src="./img/tiger/baby.png" id="anim">
|
|
</div>
|
|
<div class="activ">
|
|
<article class="item">
|
|
<p>Joy: <span id="joyN">0</span></p>
|
|
<button onclick="play()">Play</button>
|
|
</article>
|
|
<article class="item">
|
|
<p>Food: <span id="fooN">0</span></p>
|
|
<button onclick="feed()">Feed</button>
|
|
</article>
|
|
<article class="item">
|
|
<p>Clean: <span id="cleN">0</span></p>
|
|
<button onclick="clearBoy()">Clean</button>
|
|
</article>
|
|
<article class="item">
|
|
<p>Health: <span id="heaN">0</span></p>
|
|
<button>Heal</button>
|
|
</article>
|
|
</div>
|
|
</main>
|
|
<script src="main.js"></script>
|
|
</body>
|
|
</html> |