added analytics
This commit is contained in:
parent
c453d367cb
commit
5aa16fc589
@ -4,13 +4,13 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="description" content="Author: A.N. Author, Illustrator: P. Pic">
|
<meta name="description" content="The horror movie guessing game!">
|
||||||
<meta property="og:title" content="Horrordle"/>
|
<meta property="og:title" content="Horrordle"/>
|
||||||
<meta property="og:description" content="The horror movie guessing game!"/>
|
<meta property="og:description" content="The horror movie guessing game!"/>
|
||||||
<meta property="og:image" content="http://www.horrordle.com/thumbnail.png">
|
<meta property="og:image" content="http://www.horrordle.com/thumbnail.png">
|
||||||
<meta property="og:url" content="horrordle.com"/>
|
<meta property="og:url" content="horrordle.com"/>
|
||||||
<meta name="twitter:card" content="summary_large_image"></meta>
|
<meta name="twitter:card" content="summary_large_image"></meta>
|
||||||
|
<script defer data-domain="horrordle.com" src="https://plausible.io/js/plausible.js"></script>
|
||||||
<meta name="twitter:image" content="http://www.horrordle.com/thumbnail.png">
|
<meta name="twitter:image" content="http://www.horrordle.com/thumbnail.png">
|
||||||
<meta name="twitter:site" content="@horrordle"></meta>
|
<meta name="twitter:site" content="@horrordle"></meta>
|
||||||
<meta name="twitter:creator" content="@gocivici"></meta>
|
<meta name="twitter:creator" content="@gocivici"></meta>
|
||||||
|
5
main.js
5
main.js
@ -251,7 +251,7 @@ window.onload = deathOftheDay();
|
|||||||
document.getElementsByClassName("resultContainer")[0].style.display="flex";
|
document.getElementsByClassName("resultContainer")[0].style.display="flex";
|
||||||
localStorage.setItem('result', textResult);
|
localStorage.setItem('result', textResult);
|
||||||
document.getElementById("feedback").style.display = "block";
|
document.getElementById("feedback").style.display = "block";
|
||||||
document.getElementById("feedback").innerHTML = "Next movie revealed at midnight! 🕛 <br>";
|
document.getElementById("feedback").innerHTML = "Next movie at midnight! 🕛 <br>";
|
||||||
document.getElementById("resultText").innerHTML = textResult;
|
document.getElementById("resultText").innerHTML = textResult;
|
||||||
document.getElementById("resultText").style.display="block";
|
document.getElementById("resultText").style.display="block";
|
||||||
document.getElementById("countDown").style.display = "block";
|
document.getElementById("countDown").style.display = "block";
|
||||||
@ -289,7 +289,8 @@ console.log("day count:" + dayCount);
|
|||||||
document.getElementById("movieName").innerHTML = movieOfTheDay[0] + " ✅";
|
document.getElementById("movieName").innerHTML = movieOfTheDay[0] + " ✅";
|
||||||
|
|
||||||
localStorage.setItem('movieName', movieOfTheDay[0] + " ✅")
|
localStorage.setItem('movieName', movieOfTheDay[0] + " ✅")
|
||||||
document.getElementById("bonusQuestion").innerHTML = "⭐BONUS ROUND⭐<br> Can you guess the survivor?";
|
// document.getElementById("bonusQuestion").innerHTML = "⭐BONUS ROUND⭐<br> Can you guess which <b>image</b> contains the survivor?";
|
||||||
|
document.getElementById("bonusQuestion").innerHTML = "⭐BONUS ROUND⭐<br> choose the image with the survivor";
|
||||||
document.getElementById("submitBonusGuess").style.display = "inline";
|
document.getElementById("submitBonusGuess").style.display = "inline";
|
||||||
document.getElementById("skipBonusGuess").style.display = "inline";
|
document.getElementById("skipBonusGuess").style.display = "inline";
|
||||||
textResult = textResult + "🟩";
|
textResult = textResult + "🟩";
|
||||||
|
Loading…
Reference in New Issue
Block a user