const ageRestrictionPopup = document.getElementById("age-restriction-popup");
const yesButton = document.querySelector(".btn-yes");
const noButton = document.querySelector(".btn-no");
function showAgeRestrictionPopup() {
ageRestrictionPopup.style.display = "flex";
}
function hideAgeRestrictionPopup() {
ageRestrictionPopup.style.display = "none";
}
yesButton.addEventListener("click", function() {
// Handle the action for the "Yes" button
hideAgeRestrictionPopup();
});
noButton.addEventListener("click", function() {
// Handle the action for the "No" button
window.location.href = "https://www.google.com/"; // redirect to google as an example
});
// Show the age restriction popup when the page loads
showAgeRestrictionPopup();
About: I (developer) am currently working on. My first game is called “Vivid days”. How many of us would refuse to spend couple of days living next to several beautiful girls? They are so different and seem so joyful… But is everything as bright and vivid as it seems to be? Let’s find it out together!
Updated: 2018/11/19 Developer/Publisher: Loys Censorship: None Version: Episode 1, v0.1.0 Language: English, Russian File types:application File size:64.21 MB v0.1.0 The main difference from the beta release is improved english in the dialogues. Also some minor changes were made to the plot. Download:
Comments
Post a Comment