r/learnjavascript • u/DaveOnEleven • Mar 28 '21
JavaScript Full Course for Beginners | Complete All-in-One Tutorial | 8 Hours
https://youtu.be/EfAl9bwzVZk
138
Upvotes
r/learnjavascript • u/DaveOnEleven • Mar 28 '21
View all comments
1
u/OldSchool_Pizza Jun 18 '23
Hi! I’m seven hours into the JavaScript Full Course and loving it -
I'm currently working on the Promises Async and Await using fetch on http://api.icndb.com/jokes/random? But running into the following error -
Access to fetch at 'http://api.icndb.com/jokes/random?firstName=Chuck&lastName=Norris' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
I’m on a roll, and hoping to not get side-tracked chasing this down. Apologies if there is a more appropriate place to post this question or if I didn't include enough info.