I was inspired by the Matrix/green Digital Rain tutorial and wanted to use JSON/API in it for learning it.
It was interesting to find APIS and tried to visualize it, but I found out that my foundation of using logic in coding is not strong enough yet, so I decided to use simple JSON file with more complex logics.
I chose the Instagram .Json file of my account and chose to use comments in my account.
Then I console.log it and found out there is an array with 719 length. And each one have 3 things in it.
I want to use the second [2] for picking the comments.
And I tired to visualize it as a whole first.
function preload(){
   data = loadJSON("comments.json",gotData);
}
function gotData(){
  console.log(data);
}
Back to Top