Having a lot of trouble with API projects, please help me :(

I don’t know if I’m too stupid for coding and should just give up at this point, but I’m so helpless when it comes to the intermediate API projects. Can someone please look at this and help me out at all? I’m quite a beginner.

Weather App : https://codepen.io/rstorms/pen/pVVRxZ

Twitch App: https://codepen.io/rstorms/pen/pVVRxZ

Don’t judge my styling! Haha, just trying to figure out how this works. Thank you so much to anyone who can give me an answer or at least try. I really don’t want to give up.

Check your browser’s console (Ctrl+Shft+ in Chrome) and research any of the error messages you see.

You are having a common CORS issue, @rstorms. Not sure how it is being solved in codepen but the solution is already standard. Wait for someone else to answer you or just search what other people have said about codepen and CORS in the forum or medium.

EDIT: actually, I found a message dealing with the problem after looking for “CORS codepen”:

If you are needing to understand CORS, it is a very technical concept that unfortunately we all should understand. Here another post explaining it:

If that is still complicated, try to find other explanations here or in Medium?

Hope this helps.

You’re further along than I am, so:

  1. You can’t be stupid, because that would make me more stupid, and I’m not stupid :wink: .
    Though that wink emoji might have you thinking otherwise.

  2. These things just get harder and harder the more you advance, and that’s how it is for pretty much everyone. Everyone struggles.

1 Like

I appreciate it a lot :slight_smile:

1 Like

I’m in safari and I can’t figure it out. Still trying…

If you are on a mac using safari, then use the Develop > Show Error Console menu item (Option-Cmd-C):