• Top
  • Top2
  • Top3

Shaadi Karogi: Index Of Mujhse

// ---------- NO BUTTON - playful escaping behaviour (classic "Mujhse Shaadi Karogi" trick) ---------- function handleNoClick() noClickCount++; if(noClickCount === 1) messagePara.innerHTML = "😅 Are you sure? Think again! Love is in the air 💨 ... please click 'Haan'"; gifSpan.innerHTML = "😢💔"; responseDiv.style.background = "#ffe0e5"; // make No button move slightly? first time hint noBtn.style.transform = "translateX(5px)"; setTimeout(() => noBtn.style.transform = ""; , 200); else if(noClickCount === 2) messagePara.innerHTML = "🥺 Ruko... Please meri baat suno. Life without you feels empty. Click Haan? 🥺"; gifSpan.innerHTML = "🌹🙏🌹"; moveNoButtonRandomly(); else if(noClickCount === 3) messagePara.innerHTML = "🤭 OK, I know you are joking. But I'll move the 'Nahi' button now, you can't say no easily! 😂❤️"; gifSpan.innerHTML = "🏃💨💨"; moveNoButtonRandomly(true); else if(noClickCount >= 4) messagePara.innerHTML = "💘 Haha! No matter how many times you click 'Nahi', my love stays. The button will run away. Just say Haan! 💘"; gifSpan.innerHTML = "🌀🌀🌀"; moveNoButtonRandomly(true); // extra trick: disable no button for a moment and re-enable? playful if(noClickCount === 5) noBtn.style.opacity = "0.5"; noBtn.disabled = true; setTimeout(() => noBtn.disabled = false; noBtn.style.opacity = "1"; , 700); // Add slight shake to the proposal card card.style.transform = "rotate(0.5deg) scale(0.99)"; setTimeout(() => card.style.transform = ""; , 180);

footer margin-top: 1.8rem; font-size: 0.75rem; color: #b87a86; border-top: 1px dashed #ffccd4; padding-top: 1rem;

@keyframes pulse 0% transform: scale(1); opacity: 0.9; text-shadow: 0 0 0 rgba(255,80,120,0.4); 50% transform: scale(1.12); opacity: 1; text-shadow: 0 0 12px #ff3366; 100% transform: scale(1); opacity: 0.9;

.glow animation: happyGlow 0.6s ease-out; @keyframes happyGlow 0% background: #fff7e0; box-shadow: 0 0 0 0 #ffccaa; 100% background: #fff0f2; </style> </head> <body> index of mujhse shaadi karogi

<script> (function() // ----- DOM elements ----- const yesBtn = document.getElementById('yesBtn'); const noBtn = document.getElementById('noBtn'); const responseDiv = document.getElementById('responseArea'); const messagePara = document.getElementById('messageText'); const gifSpan = document.querySelector('#responseArea .gif-placeholder'); const card = document.getElementById('proposalCard'); const questionDiv = document.getElementById('questionText');

// ---------- Attach events ---------- yesBtn.addEventListener('click', onYes); noBtn.addEventListener('click', handleNoClick); // additional hover effect for yes button yesBtn.addEventListener('mouseenter', () => if(!yesBtn.disabled) yesBtn.style.transform = 'scale(1.02)'; ); yesBtn.addEventListener('mouseleave', () => yesBtn.style.transform = ''; ); // preload fun message: optional but nice. setTimeout(() => const msg = "💕 Your answer? I'll wait for eternity... 💕"; if(!yesBtn.disabled) messagePara.innerHTML = msg; , 1000); // small fallback to keep no button from going out of container setInterval(() => if(noBtn.style.position === 'absolute' && !yesBtn.disabled) const container = document.querySelector('.buttons'); if(container) const maxLeft = container.clientWidth - noBtn.offsetWidth - 8; const maxTop = container.clientHeight - noBtn.offsetHeight - 5; let leftNow = parseFloat(noBtn.style.left); let topNow = parseFloat(noBtn.style.top); if (isNaN(leftNow)) leftNow = 10; if (isNaN(topNow)) topNow = 10; if (leftNow > maxLeft) noBtn.style.left = Math.max(5, maxLeft - 5) + 'px'; if (topNow > maxTop) noBtn.style.top = Math.max(2, maxTop - 4) + 'px'; if (leftNow < 2) noBtn.style.left = '8px'; if (topNow < 2) noBtn.style.top = '8px'; , 500); )();

.proposal-card max-width: 550px; width: 100%; background: rgba(255, 255, 255, 0.96); border-radius: 56px; box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3), 0 0 0 8px rgba(255, 215, 0, 0.3); overflow: hidden; transition: all 0.2s ease; backdrop-filter: blur(1px); text-align: center; padding: 2rem 1.8rem 2.5rem; // ---------- NO BUTTON - playful escaping behaviour

.btn-yes background: #e8436e; color: white; box-shadow: 0 6px 0 #962d48; .btn-yes:hover background: #ff4d7a; transform: scale(1.02);

.question background: #fff2f4; border-radius: 60px; padding: 0.7rem 1rem; font-size: 1.8rem; font-weight: bold; color: #a13046; margin: 1.2rem 0 1.5rem; box-shadow: inset 0 0 0 1px white, 0 6px 12px rgba(0,0,0,0.05);

.heart-icon font-size: 4.2rem; animation: pulse 1.5s infinite ease; display: inline-block; margin-bottom: 0.5rem; please click 'Haan'"; gifSpan

.gif-placeholder font-size: 3rem; margin-bottom: 8px;

.btn-no background: #6c757d; color: white; box-shadow: 0 6px 0 #3e444a; position: relative; .btn-no:hover background: #7e8892;

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> <title>Mujhse Shaadi Karogi? | Will You Marry Me?</title> <style> * margin: 0; padding: 0; box-sizing: border-box; user-select: none; /* avoid accidental text selection on buttons */ body background: linear-gradient(145deg, #f8b8c0 0%, #f06b7c 100%); min-height: 100vh; display: flex; justify-content: center; align-items: center; font-family: 'Segoe UI', 'Poppins', 'Dancing Script', cursive, system-ui, -apple-system, sans-serif; padding: 1rem;

.proposer-pic background: #ffe0e5; width: 120px; height: 120px; border-radius: 100px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-size: 4rem; box-shadow: 0 8px 18px rgba(0,0,0,0.1); border: 3px solid #ffb7c3;

@media (max-width: 480px) .proposal-card padding: 1.5rem; h1 font-size: 2rem; .question font-size: 1.4rem; .btn padding: 0.7rem 1.2rem; font-size: 1.1rem;