stuff
This commit is contained in:
parent
08bb80e967
commit
42d127e039
@ -45,7 +45,7 @@
|
||||
<div class="content">
|
||||
<i class="fas fa-tint"></i>
|
||||
<div class="InstructionText">
|
||||
<p>If you guess wrong a new
|
||||
<p>If you guess wrong or submit while empty, a new
|
||||
scene from the movie is revealed. You have a maximum of 3 guesses to find the movie.</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -58,7 +58,7 @@
|
||||
<div class="content">
|
||||
<i class="fas fa-star"></i>
|
||||
<div class="InstructionText">
|
||||
<p>If you win you'll have the chance to guess which image contains the survivor who escapes the movie in the bonus stage.</p>
|
||||
<p>If you win you'll have the chance to guess which image contains the survivor in the bonus stage.</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
10
main.js
10
main.js
@ -14,11 +14,12 @@
|
||||
window.addEventListener ("load", function() {
|
||||
loader.style.display = 'none';
|
||||
});
|
||||
guess='Skipped';
|
||||
|
||||
if(!localStorage.getItem('playedBefore')){
|
||||
// window.location = window.location.href + "#info";
|
||||
window.location = "https://gorkem.cc/horo#info"
|
||||
// window.location = "file:///C:/Users/gogob/Documents/dEATHDLE/Test/index.html#info"
|
||||
// window.location = "https://gorkem.cc/horo#info"
|
||||
window.location = "file:///C:/Users/gogob/Documents/dEATHDLE/Test/index.html#info"
|
||||
localStorage.setItem('playedBefore',"true");
|
||||
}
|
||||
|
||||
@ -323,6 +324,7 @@ console.log("day count:" + dayCount);
|
||||
console.log(textResult);
|
||||
document.getElementById("guessForm").reset();
|
||||
markCalendar();
|
||||
guess = "Skipped"
|
||||
|
||||
}
|
||||
|
||||
@ -356,13 +358,17 @@ console.log("day count:" + dayCount);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
autoCompleteJS.input.addEventListener("selection", function (event) {
|
||||
// guess = "skipped"
|
||||
// event.detail.selection.value = "skipped";
|
||||
const feedback = event.detail;
|
||||
// Prepare User's Selected Value
|
||||
guess = event.detail.selection.value
|
||||
autoCompleteJS.input.value = guess;
|
||||
// Console log autoComplete data feedback
|
||||
console.log(event.detail.selection.value);
|
||||
// checkGuess();
|
||||
});
|
||||
|
||||
function copyToClipboard() {
|
||||
|
Loading…
Reference in New Issue
Block a user