-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (37 loc) · 1.76 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
33
34
35
36
37
38
39
40
41
42
43
<!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">
<title>Ballon Assignment</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1 style="text-align: center;"> <u>Ballon Matching Game</u></h1>
<h3>Points:<div id="totalcount"></div></h3>
<div id="color"></div> <button onclick="nextcolor()" class="btn">Next Color</button>
<div class="main">
<div class="balloon" id="ballon-1" onclick="findbal('ballon-1')"></div>
<div class="balloon" id="ballon-2" onclick="findbal('ballon-2')"></div>
<div class="balloon" id="ballon-3" onclick="findbal('ballon-3')"></div>
<div class="balloon" id="ballon-4" onclick="findbal('ballon-4')"></div>
<div class="balloon" id="ballon-5" onclick="findbal('ballon-5')"></div>
</div>
<div class="main">
<div class="balloon" id="ballon-6" onclick="findbal('ballon-6')"></div>
<div class="balloon" id="ballon-7" onclick="findbal('ballon-7')"></div>
<div class="balloon" id="ballon-8" onclick="findbal('ballon-8')"></div>
<div class="balloon" id="ballon-9" onclick="findbal('ballon-9')"></div>
<div class="balloon" id="ballon-10" onclick="findbal('ballon-10')"></div>
</div>
<div class="main">
<div class="balloon" id="ballon-11" onclick="findbal('ballon-11')"></div>
<div class="balloon" id="ballon-12" onclick="findbal('ballon-12')"></div>
<div class="balloon" id="ballon-13" onclick="findbal('ballon-13')"></div>
<div class="balloon" id="ballon-14" onclick="findbal('ballon-14')"></div>
<div class="balloon" id="ballon-15" onclick="findbal('ballon-15')"></div>
</div>
<script src="app.js"></script>
</body>
</html>