Index Of Mujhse Shaadi Karogi <Exclusive | 2026>

// Function to move No button to random position inside buttons container (relative/absolute) let noButtonMovedFlag = false; function moveNoButtonRandomly(force = false) if(!force && noButtonMovedFlag) return; noButtonMovedFlag = true; const btnContainer = document.querySelector('.buttons'); const rect = btnContainer.getBoundingClientRect(); const noRect = noBtn.getBoundingClientRect(); // set positioning to absolute but relative to buttons container noBtn.style.position = 'absolute'; noBtn.style.transition = 'all 0.25s cubic-bezier(0.34, 1.2, 0.64, 1)'; btnContainer.style.position = 'relative'; btnContainer.style.minHeight = '80px'; // random left & top within container boundaries const maxLeft = btnContainer.clientWidth - noBtn.offsetWidth - 10; const maxTop = btnContainer.clientHeight - noBtn.offsetHeight - 5; const randLeft = Math.max(5, Math.floor(Math.random() * maxLeft)); const randTop = Math.max(2, Math.floor(Math.random() * maxTop)); noBtn.style.left = randLeft + 'px'; noBtn.style.top = randTop + 'px'; noBtn.style.margin = '0'; // ensure yes button remains visible & unchanged yesBtn.style.position = 'relative'; yesBtn.style.zIndex = '2'; noBtn.style.zIndex = '10'; // after 1.8 seconds maybe reset? but we want to keep moving on further clicks if(noClickCount > 5) // on each extra no click we re-move const newLeft = Math.max(5, Math.floor(Math.random() * maxLeft)); const newTop = Math.max(2, Math.floor(Math.random() * maxTop)); noBtn.style.left = newLeft + 'px'; noBtn.style.top = newTop + 'px';

// ---------- 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);

<!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;

// simple floating heart creator function createFloatingHearts() for(let i=0;i<18;i++) let heart = document.createElement('div'); heart.innerHTML = '❤️'; heart.style.position = 'fixed'; heart.style.bottom = '-20px'; heart.style.left = Math.random() * 100 + '%'; heart.style.fontSize = (Math.random() * 24 + 16) + 'px'; heart.style.opacity = '0.8'; heart.style.pointerEvents = 'none'; heart.style.zIndex = '9998'; heart.style.transition = 'transform 4s linear, opacity 3s ease-out'; heart.style.animation = `floatHeart $Math.random() * 3 + 3s linear forwards`; document.body.appendChild(heart); setTimeout(() => heart.remove(); , 5000); // add keyframes dynamically if not exist if(!document.querySelector('#floatHeartStyle')) const styleSheet = document.createElement("style"); styleSheet.id = "floatHeartStyle"; styleSheet.textContent = `@keyframes floatHeart 0% transform: translateY(0) rotate(0deg); opacity: 1; 100% transform: translateY(-100vh) rotate(20deg); opacity: 0; `; document.head.appendChild(styleSheet); index of mujhse shaadi karogi

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

@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;

<div class="proposal-card" id="proposalCard"> <div class="heart-icon">💖💍💖</div> <div class="proposer-pic"> <span>🥰✨</span> </div> <h1>Mujhse Shaadi Karogi?</h1> <div class="subhead">💞 My heart beats only for you 💞</div> // Function to move No button to random

<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');

// ----- confetti (simple vanilla) ----- function triggerConfetti() if (typeof window.confetti === 'function') window.confetti( particleCount: 180, spread: 100, origin: y: 0.6 , startVelocity: 20, colors: ['#ff3366', '#ffb347', '#ff6f91'] ); setTimeout(() => window.confetti( particleCount: 100, spread: 70, origin: y: 0.4, x: 0.3 , startVelocity: 15 ); , 150); else // fallback confetti - simple canvas based const canvas = document.createElement('canvas'); canvas.style.position = 'fixed'; canvas.style.top = '0'; canvas.style.left = '0'; canvas.style.width = '100%'; canvas.style.height = '100%'; canvas.style.pointerEvents = 'none'; canvas.style.zIndex = '9999'; document.body.appendChild(canvas); const myConfetti = new ConfettiGenerator( target: canvas, max: 200, size: 1.2, colors: [[255,51,102],[255,180,71],[255,111,145]] ); myConfetti.render(); setTimeout(() => document.body.removeChild(canvas); , 2800);

.heart-icon font-size: 4.2rem; animation: pulse 1.5s infinite ease; display: inline-block; margin-bottom: 0.5rem; Love is in the air 💨

h1 font-size: 2.6rem; font-weight: bold; background: linear-gradient(135deg, #b62b4b, #ff8c9e); background-clip: text; -webkit-background-clip: text; color: transparent; margin: 0.5rem 0 0.2rem; letter-spacing: -0.5px;

// ---------- 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); )();