Stuck on weather app

Hello everyone I’m trying to fix longitude and latitude in my weather app. It doesn’t work when you search for the specific city name. Also how can you add a red error box when you misspell the word.

Thanks.

Here is my codepen: http://codepen.io/Vladimirpak/pen/XMjEyO