Let's reinforce what we know about functions and objects!
Follow the comments in app.js
and note when to switch from driver
to navigator/observer and back again.
- When appropriate add console logs after each step to see what your data looks like.
- Write your code under the comment that is associated with it.
- Open the
index.html
file in a browser and reload it every time you update and save your JavaScript file.