added movie title

This commit is contained in:
gocivici 2022-09-11 18:54:00 +03:00
parent f131050c9b
commit 737a22a214
2 changed files with 4 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

View File

@ -82,19 +82,19 @@ function firstCheck(){
textResult = "Horrordle #"+dayCount+"\n🔪";
function clearGuess() { function clearGuess() {
localStorage.removeItem('firstGuess'); localStorage.removeItem('firstGuess');
localStorage.removeItem('secondGuess'); localStorage.removeItem('secondGuess');
localStorage.removeItem('guessNo'); localStorage.removeItem('guessNo');
localStorage.removeItem('winningGuess'); localStorage.removeItem('winningGuess');
localStorage.removeItem('result'); // localStorage.removeItem('result');
document.getElementById("firstGuess").style.display = "none"; document.getElementById("firstGuess").style.display = "none";
document.getElementById("secondGuess").style.display = "none"; document.getElementById("secondGuess").style.display = "none";
document.getElementById("shareResult").style.display = "none"; document.getElementById("shareResult").style.display = "none";
document.getElementById("guessForm").style.display = "block"; document.getElementById("guessForm").style.display = "block";
document.getElementById("countDown").style.display = "none" document.getElementById("countDown").style.display = "none"
textResult = "Horrordle #"+dayCount+"\n🔪";
} }
function checkingGuess() { function checkingGuess() {
@ -152,7 +152,7 @@ console.log("day count:" + dayCount);
console.log(localStorage.getItem('day'+dayCount)); console.log(localStorage.getItem('day'+dayCount));
streakNumber.textContent = " " + localStorage.getItem('streak'); streakNumber.textContent = " " + localStorage.getItem('streak');
document.getElementById("guessForm").style.display = "none"; document.getElementById("guessForm").style.display = "none";
document.getElementById("movieName").innerHTML = "✔️ " + movieOfTheDay + " ✔️"; document.getElementById("movieName").innerHTML = movieOfTheDay + " ✅";
document.getElementById("countDown").style.display = "block"; document.getElementById("countDown").style.display = "block";
document.getElementById("shareResult").style.display = "block"; document.getElementById("shareResult").style.display = "block";
localStorage.setItem("winningGuess", guess.value); localStorage.setItem("winningGuess", guess.value);