Skip to content

Apr 24: Export/Import Data

Learning Objectives

After today's class, you should be able to:

  • Write documentation for functions using @param, @returns, and @callback.
  • Generate a data URL to embed a file in the DOM that enables downloading.
  • Use the FileReader interface to read a file selected from the user's computer.

Lesson Outline

Documentation [15 min]

Work on Lab 10 [45 min]

  • Discuss the MDN reference pages
  • Complete most of the lab in class

Work on Project 3 [15 min]

  • Add export/import to your project
  • Plan presentation – in two weeks!