TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #320 · 29 апр.

Репозитори на почитать для расширения кругозора. ▫️ Большой ликбез по экосистеме Python https://github.com/brunocampos01/understanding-the-python-ecosystem ▫️Подборка самых популярных полезностей для веб разработчиков https://github.com/ml-tooling/best-of-web-python ▫️Подборка библиотек для тех кто уважает типизацию в Python https://github.com/typeddjango/awesome-python-typing #basic#libs

Hashtags

Резултати

Пронајдени 1 слични објави

Пребарај: #2post

当前筛选 #2post清除筛选
Dasturlash hayoti️️ ️

@dasturlash_hayoti · Post #4112 · 24.12.2025 г., 05:52

#JavaScript#API#webdev#2post#boshlovchilar 👨‍💻 JavaScript qayerda ishlatiladi? 2️⃣API bilan ishlash (server bilan muloqot) JavaScript serverdan ma’lumot olib kelish va uni sahifada ko‘rsatish uchun ishlatiladi. Sahifani yangilamasdan ham ma’lumot keladi. 🌐 Serverdan ma’lumot olish (fetch) <button onclick="getData()">Ma’lumotni yuklash</button> <p id="result"></p> <script> function getData() { fetch("https://jsonplaceholder.typicode.com/posts/1") .then(res => res.json()) .then(data => { document.getElementById("result").innerText = data.title; }); } </script> ☑️ Tugma bosildi → serverdan ma’lumot keldi → sahifada chiqdi Real-time yangilanish nimaga o‘xshaydi? 📩 Chatda xabar kelishi 📰 Yangiliklar avtomatik yangilanishi ❤️ Like bosilganda soni darhol o‘zgarishi 👉 Bularning barchasi JavaScript + API orqali ishlaydi. Ma’lumotni sahifada dinamik ko‘rsatish Serverdan kelgan ma’lumot: ❌ qo‘lda yozilmaydi ❌ sahifa qayta yuklanmaydi JavaScript: ☑️ o‘zi olib keladi ☑️ o‘zi joylashtiradi JavaScript + API bo‘lmasa: ❌ sayt sekin ❌ har safar refresh kerak JavaScript + API bilan esa: ☑️ tez ☑️ jonli ☑️ zamonaviy sayt 💻@dasturlash_hayoti— dasturchilar hayoti va IT memlari aralash kanal😉