Web · Medium

Save it and fetch it

Make apps remember: save on the phone, load from a server, and handle slow Wi-Fi, errors and tunnels.

You should already know: JavaScript in the browser.

  • 2 levels
  • 17 hands-on classes
  • 2 level exams
  • about 3 h

What you'll be able to doMake apps that keep their data on the phone, load it from a server, handle slow Wi-Fi, errors and tunnels, and send new data back.

0%Not started
Level 1 · 7 classes and an exam

Remember it

Save on the phone: one value, a default, whole lists as text, and a fresh start.

0/8

Cheat sheet for this level

  1. Class 1Save it on the phoneYou are herePlus
  2. Class 2Read it backPlus
  3. Class 3A brand-new phonePlus
  4. Class 4Save the whole listPlus
  5. Class 5Open with the list readyPlus
  6. Class 6Start a new listPlus
  7. Class 7On your own: the reading logPlus
  8. Level exam · 4 questionsThe pantry that remembersPlus
Level 2 · 10 classes and an exam

Talk to a server

Fetch with await, show loading, handle errors and lost connections, try again, send and delete data, and keep a copy for offline.

0/11

Cheat sheet for this level

Pass the level 1 exam to open this level.

  1. Class 8Ask the bakery's serverPlus
  2. Class 9Wait for the answerPlus
  3. Class 10Show that it's loadingPlus
  4. Class 11When the server has a bad dayPlus
  5. Class 12No signal on the trainPlus
  6. Class 13A Try again buttonPlus
  7. Class 14Send an orderPlus
  8. Class 15Cancel an orderPlus
  9. Class 16The menu, even offlinePlus
  10. Class 17On your own: the bus stop screenPlus
  11. Level exam · 4 questionsRose's order screenPlus
Finish line: Save it and fetch itEach level exam you pass gives you that level's trophy. Pass every level exam to finish the course and graduate.