Hey again everyone. I'd like to thank you all for answering my last question and being patient with my lack of knowledge when it comes to APIs.
"Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://canvas.instructure.com/api/v1/courses. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)."
Attached is a screenshot of my code. Thanks again for your help everyone.