दैनिक शतरंज पहेली

दैनिक शतरंज पहेली

अपनी वेबसाइट पर दैनिक शतरंज पहेली दिखाएं

आप निम्नलिखित कोड के साथ अपनी वेबसाइट या ब्लॉग पर दैनिक शतरंज पहेली दिखा सकते हैं :


    <div>
    <a id="puzzleLink" href="https://chesspuzzle.net/hi/Daily">
    <img id="puzzleImage" alt="दैनिक शतरंज पहेली" />
    </a><br />
    <h3><span id="puzzleText" /></h3>
    </div>

    <script type="text/javascript">
    var request = new XMLHttpRequest();
    request.open('GET', 'https://chesspuzzle.net/hi/Daily/Api', true);
    request.onload = function () {
    if (request.status >= 200 && request.status < 400) {
    var result = JSON.parse(request.responseText);
    document.getElementById("puzzleText").textContent = result.Text;
    document.getElementById("puzzleLink").href = result.Link;
    document.getElementById("puzzleImage").src = result.Image;
    }
    };
    request.send();
    </script>

आपके टूर्नामेंट से शतरंज की पहेलियाँ

यदि आप अपने टूर्नामेंट से पहेलियों को साझा करने के लिए दैनिक शतरंज पहेली चाहते हैं, तो कृपया मुझे संपर्क करें।