Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Valentines Day</title>
<title>Valentines Day</Hey Aashika>
<script src="https://cdn.tailwindcss.com"></script>
<style>
.gradient-background {
Expand Down Expand Up @@ -79,17 +79,18 @@ <h2 id="valentineQuestion" class="text-4xl font-bold italic text-[#bd1e59] my-4"
yesButton.style.width = `${buttonWidth}px`;
yesButton.style.fontSize = `${fontSize}px`; // Update font size
if (noClickCount < 6) {
noButton.textContent = ["No", "Are you sure?", "Pookie please", "Don't do this to me :(", "You're breaking my heart", "I'm gonna cry..."][noClickCount];
noButton.textContent = ["No", "Are you sure?", "Vunti please", "Don't do this to me :(", "You're breaking my heart", "I'm gonna cry..."][noClickCount];
}
}
});

yesButton.addEventListener('click', () => {
imageDisplay.src = './images/image7.gif'; // Change to image7.gif
valentineQuestion.textContent = "Yayyy!! :3"; // Change the question text
valentineQuestion.textContent = "I love you so much vunti!! :3"; // Change the question text
responseButtons.style.display = 'none'; // Hide both buttons
confetti(); // Trigger confetti animation
});
</script>
</body>
</html>

</html>