-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (42 loc) · 1.31 KB
/
Copy pathindex.html
File metadata and controls
56 lines (42 loc) · 1.31 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
<!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>Memorizing Game 翻牌遊戲</title>
<!-- 標頭區 -->
<div id="header">
<div class="title">
<img src="https://assets-lighthouse.alphacamp.co/uploads/image/file/17990/__.png" alt="">
<h2>Memorizing Game 翻牌遊戲</h2>
</div>
<h2 class="score">Score : 0</h2>
<p class="triedTimes">You've tried: 0 times</p>
</div>
<!-- 載入CSS -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- 建立牌桌 id為cards,存放所有卡牌 -->
<div id="cards">
<!-- 建立單張卡牌,左上及右下兩個數字及中間花色,後續將以js顯示所有卡牌 -->
<!-- JS產生 -->
<!-- <div class="card">
<p>5</p>
<img src="https://assets-lighthouse.alphacamp.co/uploads/image/file/17991/diamonds.png" alt="NO IMAGE">
<p>5</p>
</div> -->
<!-- JS產生 -->
<!-- JS產生 -->
<!-- <div class="card">
<p>5</p>
<img src="https://assets-lighthouse.alphacamp.co/uploads/image/file/17991/diamonds.png" alt="NO IMAGE">
<p>5</p>
</div> -->
<!-- JS產生 -->
</div>
<!-- 載入JavaScript -->
<script src="card.js"></script>
</body>
</html>