๐ Exercises XP โ Fetch API & Async/Await
Run each exercise and watch the console + output panel for results.
๐ Exercise 1 โ Giphy API (hilarious)
Fetch from Giphy, check status, log the JSON, handle errors.
๐ Exercise 2 โ Giphy API (sun)
Fetch 10 gifs about โsunโ starting at offset 2. Check status, log the JSON, handle errors.
๐ Exercise 3 โ Async function (SWAPI)
Rewrite with async/await; no .then(). Check status and handle errors.
๐ Exercise 4 โ Analyze
What does this code output? calling immediately, then after ~2s resolved.