-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (38 loc) · 1.32 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
<!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>Wordle Helper</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./css/normalize.css">
<link rel="stylesheet" href="./css/style.css">
</head>
<body>
<div id="app">
<header>
<h1>Wordle Helper</h1>
<input type="text" placeholder="Type to fill squares, click to change state" :value="inputValue">
</header>
<div class="grid">
<div class="tile-outer" v-for="(letter, index) in letters">
<div @click="toggleState(index)"
class="tile"
:data-state="letter.state">
{{ letter.text }}
</div>
</div>
</div>
<div v-if="indexCounter > 0" class="results-grid">
<div class="word" v-for="word in wordList">{{ word }}</div>
</div>
</div>
<script src="./js/modernizr_3.6.0.js"></script>
<script src="https://unpkg.com/vue@3"></script>
<script src="./js/words.js"></script>
<script src="./js/app.js"></script>
</body>
</html>