Premier commit
This commit is contained in:
parent
dadc954312
commit
e3fe710a13
4 changed files with 127 additions and 0 deletions
96
index.html
96
index.html
|
@ -0,0 +1,96 @@
|
|||
<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>Document</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<header>WORDLE</header>
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<div class="grille_haut"> <!-- Grille de mots -->
|
||||
<div id="ligne1">
|
||||
<div id="case11"></div>
|
||||
<div id="case12"></div>
|
||||
<div id="case13"></div>
|
||||
<div id="case14"></div>
|
||||
<div id="case15"></div>
|
||||
</div>
|
||||
<div id="ligne2">
|
||||
<div id="case21"></div>
|
||||
<div id="case22"></div>
|
||||
<div id="case23"></div>
|
||||
<div id="case24"></div>
|
||||
<div id="case25"></div>
|
||||
</div>
|
||||
<div id="ligne3">
|
||||
<div id="case31"></div>
|
||||
<div id="case32"></div>
|
||||
<div id="case33"></div>
|
||||
<div id="case34"></div>
|
||||
<div id="case35"></div>
|
||||
</div>
|
||||
<div id="ligne4">
|
||||
<div id="case41"></div>
|
||||
<div id="case42"></div>
|
||||
<div id="case43"></div>
|
||||
<div id="case44"></div>
|
||||
<div id="case45"></div>
|
||||
</div>
|
||||
<div id="ligne5">
|
||||
<div id="case51"></div>
|
||||
<div id="case52"></div>
|
||||
<div id="case53"></div>
|
||||
<div id="case54"></div>
|
||||
<div id="case55"></div>
|
||||
</div>
|
||||
<div id="ligne6">
|
||||
<div id="case61"></div>
|
||||
<div id="case62"></div>
|
||||
<div id="case63"></div>
|
||||
<div id="case64"></div>
|
||||
<div id="case65"></div>
|
||||
</div>
|
||||
|
||||
</div> <!-- Fin Grille de mots -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
<footer>
|
||||
<div class="clavier">
|
||||
<div class="line1">
|
||||
<button type="button" onclick="update(A)">A</button>
|
||||
<button type="button" onclick="update(Z)">Z</button>
|
||||
<button type="button" onclick="update(E)">E</button>
|
||||
<button type="button" onclick="update(R)">R</button>
|
||||
<button type="button" onclick="update(T)">T</button>
|
||||
<button type="button" onclick="update(Y)">Y</button>
|
||||
<button type="button" onclick="update(U)">U</button>
|
||||
<button type="button" onclick="update(I)">I</button>
|
||||
<button type="button" onclick="update(O)">O</button>
|
||||
<button type="button" onclick="update(P)">P</button>
|
||||
</div>
|
||||
<div class="line2"></div>
|
||||
<div class="line3"></div>
|
||||
|
||||
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,6 @@
|
|||
const fs = require("fs");
|
||||
|
||||
fs.readFile("word_bank.txt", (err, data) => {
|
||||
if (err) throw err;
|
||||
console.log(data.toString());
|
||||
});
|
15
styles.css
15
styles.css
|
@ -0,0 +1,15 @@
|
|||
|
||||
header{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.grille_haut div div{
|
||||
background-color: rgb(182, 182, 182);
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
footer{
|
||||
|
||||
}
|
10
test.txt
10
test.txt
|
@ -0,0 +1,10 @@
|
|||
hello
|
||||
train
|
||||
admin
|
||||
agony
|
||||
first
|
||||
flood
|
||||
pesto
|
||||
pipes
|
||||
teaks
|
||||
whizz
|
Loading…
Reference in a new issue