These are the steps you need to take to import the data. If you are stuck on the syntax, you can rewatch this scrim.

  1. Create a file called data.js and cut and paste the data into that file.
  2. Export the data from data.js.
  3. Import the data into index.js, remembering to use {}.
  4. Add type=”module” to the script tag in index.html.