-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
58 lines (53 loc) · 2.59 KB
/
game.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!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="https://use.fontawesome.com/releases/v5.9.0/css/all.css" />
<link rel="stylesheet" href="style_drag.css" />
<title>
LearnEra
</title>
<link rel="icon" href="./pictures/logo.jpg" type="image/x-icon" />
</head>
<body>
<h1 style="text-align: center;color: green;">Drag the animals and Drop it in the correct box!! </h1>
<section class="draggable-elements">
<i class="fas fa-cat draggable" draggable="true" style="color: #ff6384;" id="cat"></i>
<i class="fas fa-dog draggable" draggable="true" style="color: #36a2eb;" id="dog"></i>
<i class="fas fa-dove draggable" draggable="true" style="color: #ffce56;" id="dove"></i>
<i class="fas fa-fish draggable" draggable="true" style="color: #9966ff;" id="fish"></i>
<i class="fas fa-frog draggable" draggable="true" style="color: #4bc0c0;" id="frog"></i>
<!-- <i class="fas fa-horse draggable" draggable="true" style="color: #333333;" id="horse"></i>
<i class="fas fa-hippo draggable" draggable="true" style="color: #ff9f40;" id="hippo"></i>
<i class="fas fa-spider draggable" draggable="true" style="color: #ff99cc;" id="spider"></i> -->
</section>
<section class="droppable-elements">
<tr>
<td>
<div class="droppable" data-draggable-id="frog"><span>Frog</span></div>
</td>
<td>
<div class="droppable" data-draggable-id="dove"><span>Bird</span></div>
</td>
<td>
<div class="droppable" data-draggable-id="cat"><span>Cat</span></div>
</td>
<td>
<div class="droppable" data-draggable-id="fish"><span>Fish</span></div>
</td>
<td>
<div class="droppable" data-draggable-id="dog"><span>Dog</span></div>
</td>
</tr>
<!-- <div class="droppable" data-draggable-id="spider"><span>Spider</span></div>
<div class="droppable" data-draggable-id="horse"><span>Horse</span></div>
<div class="droppable" data-draggable-id="hippo"><span>Hippo</span></div> -->
</section>
<div class="btn__container_learningh" style="margin: 0;">
<button type="button" class="btn1" onclick="window.location.reload(true);">Play Again</button>
</div>
<script src="script_drag.js"></script>
</body>
</html>