<aside> ✨

We do not have class next week — however there is a conceptual homework assignment due next week (your final project idea)

</aside>

Today

Code study: interactivity, data, and functions

Code study: loading data

Use this starter code

https://glitch.com/edit/#!/rust-plant-calliandra

This code loads a CSV file containing a sampling of 311 complaints. Note that it uses an external JS library — PapaParse — to parse the text from the CSV and turn it into a structured Javascript object

  function createNewCard(data) {
    const newElement = document.createElement("div");
    newElement.textContent = "Hello, this is dynamically created!";
    newElement.classList.add("card");
    //use document query selector to add the newElement to the element with class container   
  }

Challenges