Cross-Origin issue with API challenge

Cross-Origin issue with API challenge


Hey, I have been searching around and it seems that the cross-origin issue is a big thing.
I can’t complete this challenge on localhost, and Codepen is also giving me the same error despite using

What did you guys do to get around this problem?


I used an API from Mashape (link). Read around the Mashape documentation for an understanding for how to use it, but it was pretty straight forward. Just have to signup for a API key.


Maybe this could help:


Thanks everyone, I got this all worked out now. :smiley:
A lot of studying and a lot of research but it was good learning experience. :smiley: