<aside> ✨

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

</aside>

Today

Web narratives (1 hour)

Slides

https://docs.google.com/presentation/d/1DC6BAIHiWWJQZbsVfi1mhwLrjYCddNBl_6ZKzxBtH6c/edit#slide=id.g297f7e571f2_0_356

rust-plant

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   
  }