JSON instructional on codepen


#1

hi all- I’m trying to follow along with this tutorial


using codepen and I’m not getting any of the console log statements… any advice?


#2

post your code from codepen … will be able to help you then


#3

this is what im at so far-


#4

there’s a typo ourRequest.onLoad should be ourRequest.onload

there are other mistakes but this will get you going


#5

thank you! I was only part way through it and couldn’t figure out why it wasnt working at all.


#6

An incremental coding approach helps - write a minimal amount of code that you can follow - sprinkle liberally with console.log - test it and follow the output - after it works make the smallest change possible - even one line may be enough - test again - etc