Day 11/21 – JavaScript API Calls 🌐
Today I explored how to fetch data from APIs in JavaScript using async/await.
Copy code
Javascript
async function getUsers() {
try {
let response = await fetch("https://jsonplaceholder.typicode.com/users");
Digital Marketing Course in Kolkata | Skillfloor
Unlock your potential with Skillfloor's Digital Marketing Course in Kolkata! Learn SEO, Social Media, Google Ads, Content Marketing, and more to boost your career or grow your business. 💻🚀 Expert tr
See More
1 Reply
Kolkata Index
•
West Bengal Tourism • 10m
Scenes from Kolkata airport. Fans eagerly await the arrival of the Bengal team.
Day 10/21 – JavaScript: Callback, Promise & Async/Await
Today I learned how JavaScript handles asynchronous tasks like API calls, file loading, or timers. ⚡
🔹 Callback – a function passed into another function
function fetchData(cb) {
setTimeou
Attention AI Developers! 🚀
I'm looking for freelancers proficient in Langchain with hands-on development experience and expertise in optimized retrieval techniques to enhance response time.
If you're interested, feel free to send a DM! 👋