-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (74 loc) · 3.16 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!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="css/style.css">
<!-- animate.css -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
<script src="js/main.js" type="module"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<title>Wordle clone</title>
</head>
<body>
<div id="container">
<div id="joc">
<header>
<h1 class="titol">WORDLE CLONE</h1>
<h2>YF</h2>
</header>
<audio id="sound">
<source src="src/sfx.mp3" type="audio/mp3">
</audio>
<audio id="sound2">
<source src="src/sfx2.mp3" type="audio/mp3">
</audio>
<audio id="sound3">
<source src="src/sfx3.mp3" type="audio/mp3">
</audio>
<div id="tauler-container">
<div id="tauler"></div>
<div id="teclat-container">
<div class="fila-teclat">
<button data-key="q">q</button>
<button data-key="w">w</button>
<button data-key="e">e</button>
<button data-key="r">r</button>
<button data-key="t">t</button>
<button data-key="y">y</button>
<button data-key="u">u</button>
<button data-key="i">i</button>
<button data-key="o">o</button>
<button data-key="p">p</button>
</div>
<div class="fila-teclat">
<div class="spacer-half"></div>
<button data-key="a">a</button>
<button data-key="s">s</button>
<button data-key="d">d</button>
<button data-key="f">f</button>
<button data-key="g">g</button>
<button data-key="h">h</button>
<button data-key="j">j</button>
<button data-key="k">k</button>
<button data-key="l">l</button>
<div class="spacer-half"></div>
</div>
<div class="fila-teclat">
<button data-key="enter" class="wide-button">Enter</button>
<button data-key="z">z</button>
<button data-key="x">x</button>
<button data-key="c">c</button>
<button data-key="v">v</button>
<button data-key="b">b</button>
<button data-key="n">n</button>
<button data-key="m">m</button>
<button data-key="del" class="wide-button">Del</button>
</div>
</div>
</div>
</div>
</div>
</body>
</html>