Skip to content

Instantly share code, notes, and snippets.

@dmytrostriletskyi
Last active January 1, 2026 10:26
Show Gist options
  • Select an option

  • Save dmytrostriletskyi/0ab8ed24edf7ddf23d69d2018ddcaa23 to your computer and use it in GitHub Desktop.

Select an option

Save dmytrostriletskyi/0ab8ed24edf7ddf23d69d2018ddcaa23 to your computer and use it in GitHub Desktop.
The example of the Telegram widget embed code
<script async src="https://telegram.org/js/telegram-widget.js?2"
data-telegram-login="samplebot"
data-size="large"
data-auth-url=""
data-request-access="write">
</script>
@mohamedmohamedchouidi-dot

Screenshot_20251212_163802_Instagram

@mohamedmohamedchouidi-dot
<title>تفاحة فورتشن 2025 - حساب 1405106921</title> <style> body { background: black; color: lime; text-align: center; padding: 20px; font-family: Arial; } h1 { color: gold; } .grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; max-width: 500px; margin: 20px auto; } .box { height: 80px; background: #333; border: 3px solid red; border-radius: 15px; font-size: 30px; display: flex; align-items: center; justify-content: center; } .good { background: red !important; animation: happy 1s infinite; } /* تفاحة حمراء تفرح */ @Keyframes happy { 0% { transform: scale(1); } 50% { transform: scale(1.2); box-shadow: 0 0 30px gold; } 100% { transform: scale(1); } } .stats { background: #111; padding: 20px; border-radius: 20px; margin: 20px; font-size: 24px; } </style>

🍎 تفاحة 2025
حساب: 1405106921

التاريخ: 31 ديسمبر 2025

الصحيح: 4 | الأخطاء: 1

الصحيح: 4 | الأخطاء: 1

الصحيح: 4 | الأخطاء: 1

الصحيح: 4 | الأخطاء: 1

الصحيح: 3 | الأخطاء: 2

الصحيح: 3 | الأخطاء: 2

الصحيح: 3 | الأخطاء: 2

الصحيح: 2 | الأخطاء: 3

الصحيح: 2 | الأخطاء:

الصحيح: 1 | الأخطاء: 4

<script> let wins = 0, losses = 0; let winner = 0;

function createGrid() {
const grid = document.getElementById('grid');
grid.innerHTML = '';
for(let i=1; i<=5; i++) { // 5 مربعات
let box = document.createElement('div');
box.className = 'box';
box.textContent = i;
grid.appendChild(box);
}
}

function newRound() {
createGrid();

}let counter = 0;
const interval = setInterval(() => {
counter++;
const apple = Math.floor(Math.random() * 4) + 1;
console.log(`
{"multiplier": 1.23, "box": 5},

    {"multiplier": 1.54, "box": 5},        

    {"multiplier": 1.93, "box": 5},    

    {"multiplier": 2.41, "box": 5},    

    {"multiplier": 4.02, "box": 5},    

    {"multiplier": 6.71, "box": 5},    

    {"multiplier": 11.18, "box": 5},     

    {"multiplier": 27.92, "box": 5},   

    {"multiplier": 69.93, "box": 5},       

    {"multiplier": 349.68, "box": 5},   
جولة ${counter}:
      <div class="box">1</div>

      <div class="box">2</div>

       <div class="box">3</div>

       <div class="box">4</div>

       <div class="box">5</div>
       
        <div class="box">6</div>

      <div class="box">7</div>

       <div class="box">8</div>

       <div class="box">9</div>

        <div class="box">10</div>



التفاحة المقترحة: ${apple}`, 'color: gold; font-size: 18px; font-weight: bold;');
              
if (counter >= 20) {  // يوقف بعد 20 جولة
    clearInterval(interval);
    console.log('%cانتهى الاقتراح التلقائي! 🍎', 'color: red; font-size: 20px;');
}

}, 2000); // كل 2 ثانية عشان ما يزعجكش

// جولة كل ثانية
setInterval(newRound, 2000); // كل 2 ثواني عشان تشوف الفرحة

newRound();
</script>

}

}

@mohamedmohamedchouidi-dot

Screenshot_20251208_224307_Instagram

@mohamedmohamedchouidi-dot

Screenshot_20251228_195940_Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment