CI Lab, Week 11 – Elastic Collections

Discussion questions

  • How can you use JavaScript to perform the same task multiple times, in different places in your code? I’ve heard you can do this through the use of functions, but I don’t understand what that means.
  • Since you mentioned about avoiding using the window.open function to open to a new tab for links, what would be the better way to write the code?
  • What would be the best way to randomly display a row of information from the Air table by clicking a button? (Similar to the DOM exercise, but I’m wondering how that could be applied to the Airtable data)
  • math.random allows JavaScript to randomly pick what it pushes out from whatever is on. I was wondering can you make it more specific with colors? I am using math.random to make the background for my website be a random color but I don’t want any of the dark dark colors to appear. I am not sure if there is a specific number that takes from bright and pastel colors that doesn’t include dark colors.
  • What are some ways you can filter and sort data returned from Airtable? For example, sort rows by title, by date, or to filter only rows that have a particular keyword.
  • How can I “interrupt” the data pushed by Airtable to add captions/comments/titles?
  • How can I insert the Google 3D street view into website and make some effects on top?
  • How can I randomize the location of a div without overlapping with the outside of it’s container?
  • How can I fetch and display specific sets of data from my table upon hovering my mouse over an image that correlates to that specific data set?
  • Is there an efficient way to make each size of images from Airtable different?

Group meeting schedule

  • Please meet in the Zoom room promptly at your group’s meeting time, listed below. We’re going to meet in small groups, similar to last week. You are encouraged to attend more than one session, but priority will be given to debugging code from the students in that time slot. 
Group 1 – 10:54am
  • Michelle Napolitano
  • Whitley Darby
  • Yuka Kamata
  • Luna Martha
  • Gia Lee
Group 2 – 11:10am
  • Jillian Rees
  • Yuk Hei Herbert Ho
  • Isabella Qiao
  • Lara Hemels
  • Lou Salazar Castillo
Group 3 – 11:26am
  • Chichi Zhao
  • Kashish Dusad
  • Kristy Hyun
  • Julia Du
  • Michelle Kim
  • Tingyue Wang