<!DOCTYPE html>
<html>
<head>
<title>For Diasil 💖</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
margin: 0;
height: 100vh;
background: linear-gradient(135deg, #ff758c, #ff7eb3);
display: flex;
justify-content: center;
align-items: center;
text-align: center;
font-family: Arial, sans-serif;
overflow: hidden;
color: white;
}
.container {
max-width: 500px;
padding: 20px;
z-index: 2;
}
button {
padding: 12px 25px;
font-size: 18px;
border: none;
border-radius: 25px;
cursor: pointer;
margin: 15px;
transition: 0.3s;
}
#yesBtn {
background-color: #ff2e63;
color: white;
}
#noBtn {
background-color: white;
color: #ff2e63;
position: absolute;
}
#proposal { display: none; }
#finalMessage { display: none; font-size: 26px; margin-top: 20px;}
</style>
</head>
<body>
<div class="container">
<h1>Hey Diasil 💕</h1>
<p>There’s something special waiting for you…</p>
<button onclick="reveal()">Click to Reveal 💌</button>
<div id="proposal">
<p>
Diasil, you are the most beautiful part of my life.
You make my world brighter, my heart softer,
and my days feel magical.
<br><br>
Will you be my Valentine? 💘
</p>
<button id="yesBtn" onclick="yesClicked()">YES 💕</button>
<button id="noBtn" onmouseover="moveButton()">No 💔</button>
</div>
<div id="finalMessage">
💖 Yessss!!! 💖
<br><br>
You just made my heart the happiest in the world.
Forever yours,
<br>
❤️ moti ❤️
</div>
</div>
<script>
function reveal() {
document.getElementById("proposal").style.display = "block";
}
function moveButton() {
const button = document.getElementById("noBtn");
const x = Math.random() * (window.innerWidth - 100);
const y = Math.random() * (window.innerHeight - 100);
button.style.left = x + "px";
button.style.top = y + "px";
}
function yesClicked() {
document.getElementById("proposal").style.display = "none";
document.getElementById("finalMessage").style.display = "block";
document.body.style.background = "linear-gradient(135deg, #ff2e63, #ff9a9e)";
}
</script>
</body>
</html>⚠️Content was pasted as plain text and auto-formatted as a code block. Use the Code Block button in the editor for proper formatting.