Weather Viewer freecodecamp pass-through icon

How do I access the icon so I can display it? I’ve been fiddling around with it but am getting a. 404 error.

I’m getting a response with the example URL provided:

  function(data) {

I meant the weather icon that’s in it specifically.

The icon works fine. See this pen:

I am dumb. Thanks. If I get stuck on simple things like things should I give up on any plans of becoming a front end web developer? The weather viewer project has been frustrating and I haven’t been able to finish an entire project without asking for help in the process.

1 Like

Don’t give up just yet! Brainfarts like this are common. You’ll get stuck a lot as you learn, but you can always ask for help or look things up. And I bet there are very few people here who completed a project without asking for help at some point.

The projects can get frustrating. I’m pretty frustrated on a project myself :wink:. When it gets frustrating try taking a break.

1 Like

Don’t be silly. :wink:

Everybody asks for help. I’ve been programming for years and I still do Google searches and read through Stackoverflow. Recently, I’ve added the fCC forums to that list.

If it doesn’t challenge you, it doesn’t change you. But don’t be in such a hurry. You’ll get there. :slight_smile:

1 Like

This API would of been really nice to know about rather than hours of struggling with "CrossOrigin Hacks).

No you shouldn’t give up - learning web/software dev and computer science takes a lot of cognitive thinking, it’s gonna be hard to do but remember you can do it, keep working towards your goals :slight_smile: