I need some help getting started with the Icon portion of the project. I just don’t know where to start. I get how make the call to get the Icon object from darksky, but I don’t know how to implement that in my project. If I could get pointed in the right direction it would be greatly appreciated!
Here’s a link to my project. https://codepen.io/Jeco/pen/BZRoLr
I dont think that the icon names in the api are for some particular icon set you can find. Or maybe they provide something like this but for their clients, I dont know. I used font awesome icons and made switch statement in my code - if ( icon name from darksky is like that ) then ( put this icon ), if ( other name ) then (that Icon) and so on…
Use my project for reference if you want: https://codepen.io/man0ffire/pen/YVoYvN
1 Like
Thank you so much for your help! I am feeling much better about the project and Javascript in general.