Merge branch 'master' of https://git.etud.insa-toulouse.fr/blavigna/projet_prog_web
This commit is contained in:
commit
128e8ad197
1 changed files with 7 additions and 0 deletions
|
@ -65,6 +65,13 @@ function update(x) {
|
|||
free = free_box.map(num=>{return String(num)}).join("");
|
||||
document.getElementById(free).innerHTML = x;
|
||||
free_box[1]+=1;
|
||||
if (word.length == 5){
|
||||
if(arrWords.includes(word)){
|
||||
}
|
||||
else {
|
||||
document.getElementById("info").innerHTML="NOT A WORD";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue