JSON instructional on codepen


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?


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


this is what im at so far-


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

there are other mistakes but this will get you going


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


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