Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
getWeather() not defined
I am building a weather app as a second portfolio project. It is pretty straight forward:
- shows weather on user location (works fine)
- shows weather based on city search (doesn't work at all, console says: getWeather() not defined but it is defined)
Can somebody just tell me what am doing wrong please? Thank you.
There is a typo on line 41. Don't know if there i anything else wrong too though.