अपना कैंडिडेट चुने – सत्याग्रह टाइम्स पॉल

Facebook WhatsApp

[satyagraha_poll]

<!– Satyagraha Times Poll Widget – Enhanced –><section class=”st-poll”> <div class=”st-header”> <img src=”https://yourdomain.com/logo.png” alt=”Satyagraha Times” class=”st-logo”> <h2>🗳 जनता की राय – बिहार विधानसभा चुनाव</h2> <p>आप किस पार्टी को देंगे अपना समर्थन?</p> </div> <form class=”st-form”> <label><input type=”radio” name=”vote” value=”party1″> पार्टी A</label> <label><input type=”radio” name=”vote” value=”party2″> पार्टी B</label> <label><input type=”radio” name=”vote” value=”party3″> पार्टी C</label> <label><input type=”radio” name=”vote” value=”party4″> अन्य</label> <button type=”submit” class=”st-btn”>वोट करें</button> </form> <div id=”st-result” class=”st-result”></div></section><style> .st-poll { max-width:600px; margin:30px auto; padding:20px; background:#fff; border:2px solid #e60000; border-radius:12px; box-shadow:0 6px 15px rgba(0,0,0,.15); font-family:sans-serif; transition: all 0.3s ease; } .st-header{text-align:center;margin-bottom:20px} .st-logo{max-width:120px;margin-bottom:10px} .st-form label{ display:block; margin:10px 0; font-weight:bold; cursor:pointer; transition: all 0.3s ease; } .st-form label:hover{color:#e60000;} .st-btn{ background: linear-gradient(45deg,#e60000,#ff4d4d); color:#fff; border:none; padding:12px 25px; border-radius:8px; cursor:pointer; font-size:16px; font-weight:bold; transition: all 0.3s ease; } .st-btn:hover{ background: linear-gradient(45deg,#ff4d4d,#b30000); transform: translateY(-2px); box-shadow:0 4px 12px rgba(0,0,0,0.2); } .st-result{ margin-top:20px; } .st-bar{ height:20px; background:#e60000; border-radius:10px; margin:5px 0; transition: width 1s ease-in-out; } .st-bar-label{ font-weight:bold; margin-bottom:5px; }</style><script async>document.querySelector(“.st-form”).addEventListener(“submit”,function(e){ e.preventDefault(); // Get selected vote let vote = document.querySelector(‘input[name=”vote”]:checked’); if(!vote){ alert(“कृपया एक विकल्प चुनें।”); return; } // Dummy poll result calculation let results = { “party1”: Math.floor(Math.random()*100), “party2”: Math.floor(Math.random()*100), “party3”: Math.floor(Math.random()*100), “party4”: Math.floor(Math.random()*100) }; // Display result let resultDiv = document.getElementById(“st-result”); resultDiv.innerHTML = “<h3>📊 परिणाम:</h3>”; for(let party in results){ let val = results[party]; resultDiv.innerHTML += ` <div class=”st-bar-label”>${party} – ${val}%</div> <div class=”st-bar” style=”width:${val}%”></div> `; } // Than

k you message resultDiv.innerHTML += “<p><b>🙏 धन्यवाद! आपका वोट दर्ज हो गया।</b></p>”;});</script>

trp.mth@gmail.com

Leave a Reply

Your email address will not be published. Required fields are marked *

चोरी करने से बेहतर है खुद की कंटेंट बनाओ! You cannot copy content of this page