Skip to content

Lab 10: Data Portability

Due: Monday, Apr 28th

This lab introduces two common techniques for making application data portable—so that your data can be transferred between sessions or systems:

  1. Using the window.location object to encode and share application data within a URL.
  2. Using the FileReader interface to import data from a file and export data for download.

Just for fun, this lab uses made up dinosaur names for the two approaches.

References

The following MDN reference pages may be helpful:

Instructions

  1. Download the starter file lab10.html
  2. Complete the app as specified in the page's aside.
    • Most TODO comments are 1 line of code.
    • Some are 2–3 lines of code (plus braces).
  3. Upload your finished lab10.html to Gradescope.
    • This lab will be graded manually.