TGTGInsighttelegram intelligenceLIVE / telegram public index
← python-telegram-bot

TGINSIGHT SIMILAR POSTS

Find similar content

Source channel @pythontelegrambotchannel · Post #75 · Oct 1

Fellow programmers. Happy #hacktoberfest. This event, hosted over here, is about giving back to open source projects. We encourage you all to check it out and make some contributions. We prepared some issues by ourself, they can be found here, but fear not to take on other issues in our repo. If you have any questions, feel free to ask them away in our chats, we are there to help!

Results

3 similar posts found

Search: #realproject

当前筛选 #realproject清除筛选
Dasturlash hayoti️️ ️

@dasturlash_hayoti · Post #4116 · 12/27/2025, 07:38 AM

#JavaScript#API#RealProject#webdev#dasturlash_hayoti 👨‍💻 JavaScript + API: Real loyiha Xabarlarni ro‘yxat qilib chiqarish + avtomatik yangilanish Bu bosqichda: - har bir xabar alohida chiqadi - sahifa refreshsiz yangilanadi - real chatlarga yana yaqinlashamiz 1️⃣HTML — xabar yozish va chat oynasi <!-- Xabar yozish --> <input type="text" id="message" placeholder="Xabar yozing"> <button onclick="sendMessage()">Yuborish</button> <!-- Chat ro'yxati --> <ul id="chat"></ul> ul — xabarlar ro‘yxat bo‘lib chiqishi uchun 2️⃣ JavaScript — xabar yuborish va ro‘yxatga qo‘shish <script> function sendMessage() { // Inputni chaqiramiz let input = document.getElementById("message"); // Inputdagi qiymat let msg = input.value; // Bo‘sh xabar yuborilmasligi uchun if (msg === "") return; // Serverga xabar yuborish fetch("https://jsonplaceholder.typicode.com/posts", { method: "POST", body: JSON.stringify({ text: msg }), headers: { "Content-type": "application/json" } }) .then(res => res.json()) .then(data => { // Xabarni chat ro‘yxatiga qo‘shamiz addMessage(data.text); // Inputni tozalaymiz input.value = ""; }); } </script> 3️⃣JavaScript — xabarni ro‘yxatga qo‘shish <script> function addMessage(text) { // Chat ro‘yxatini chaqiramiz let chat = document.getElementById("chat"); // Yangi xabar uchun <li> yaratamiz let li = document.createElement("li"); // Xabar matnini joylaymiz li.innerText = text; // Xabarni chatga qo‘shamiz chat.appendChild(li); } </script> Endi: - har bir xabar pastga qo‘shilib boradi - eski xabarlar yo‘qolmaydi Telegram, kommentlar, chatlar — barchasi shu mantiqda ishlaydi. ☑️Natija ⏺️JavaScript → foydalanuvchi bilan ishlaydi ⏺️API → server bilan gaplashadi ⏺️Sayt → jonli bo‘ladi ➡️Keyingi post: Enter bosilganda yuborish + real-time’ga yana yaqinlashtiramiz 🔥 💻@dasturlash_hayoti— dasturchilar hayoti va IT memlari aralash kanal😉

Dasturlash hayoti️️ ️

@dasturlash_hayoti · Post #4115 · 12/26/2025, 08:59 AM

#JavaScript#API#RealProject#webdev#dasturlash_hayoti ➡️Keyingi postda nima bo‘ladi? Keyingi darsda: ⏺️ xabarlarni bitta emas, ro‘yxat qilib chiqaramiz ⏺️ yangi xabar kelganda sahifa avtomatik yangilanadi Ya’ni: ❌ refresh yo‘q ☑️ real-time ishlash Post JavaScript + API asosida, to‘liq real loyiha ko‘rinishida bo‘ladi. 👉O‘tkazib yubormang! 💻@dasturlash_hayoti— dasturchilar hayoti va IT memlari aralash kanal😉

Dasturlash hayoti️️ ️

@dasturlash_hayoti · Post #4113 · 12/24/2025, 12:44 PM

#JavaScript#API#RealProject#webdev#dasturlash_hayoti ⚠️⚠️⚠️ Diqqat, JavaScript o‘rganuvchilar! Keyingi post: ❌ faqat nazariya emas ☑️JavaScript + API orqali real loyiha bo‘ladi Ya’ni: ⏺️serverdan ma’lumot olish ⏺️sahifani yangilamasdan ishlash ⏺️hammasi real kod bilan💻 Shunaqa amaliy post kerakmi? 👍 Ha, JS + API bilan 🔥 Yo'q, shart emas Qiziqish bo‘lsa — bosqichma-bosqich tushuntirib chiqaramiz