The menu, even offline
Your task After draw(menu); save it: localStorage.setItem("menu", JSON.stringify(menu));. In the catch, read localStorage.getItem("menu"); if there is one, draw JSON.parse(saved) and show Offline: this is the last menu you saw.
Getting the editor ready