Nothing works this week and I’m not really sure why. Of course, it’s easy to go and ask someone but I’d like to understand myself; otherwise, what’s the point…

My idea for the homework was to collect data from people: I wanted to have a list of the strangest words they’ve ever heard or had to pronounce. Here’s the list.

Then I wanted to place them randomly on the canvas by taking data from Google forms. That of course didn’t work even though I followed the example. I kept seeing the data in the console but also kept getting the error:

13179: Uncaught TypeError: Cannot read property 'appendChild' of null

Apparently something doesn’t match up with tabletop.js file and doesn’t let to see data on the page, but I’m not sure what.

Obviously I gave up and loaded the data by creating a .csv file:

Screen Shot 2015-10-20 at 13.17.12

I still want to be able to load words from the Google form, so I’ll have to work on it more.

Next:

  1. Making the Google form work.
  2. Making words to appear as links (I hope it’s possible to do it in the .js file as I’m not really enjoying html)
  3. When clicking on the words, making them do two things:
    • give the definition of the word (I tried doing it with Wordnik but it didn’t work; so Wordnik or Google);
    • show the Google image (I actually got that)

Here’s what I have so far.

Questions:

  1. Showing words randomly: how do I make them not overlapping one another?
  2. Showing words as links
  3. Wordnik or Google API for word definition search
  4. Google image: how to make after showing 3 to make a new line?
  5. Google image2: how to make the previous search disappear once I enter the new query?

Leave a Reply

Your email address will not be published. Required fields are marked *