Help in weather application

Help in weather application
0

#1

Here is my Link link.
I want to display the weather of the typed location.
Yes i need to work on Look of the application. But currently my focus is on functionality.
Help me to display the weather of typed location. My code not working.


#2
  1. You are missing $ on line 3
  2. You are missing http:// in front of url (line 5)
  3. If you are using openweathermap you should set your codepen address to http:// not https://

P.S. Don’t use openweathermap. Use some another weather API (e.g. wunderground)


Local Weather App OWM & GeoIP
#3

Thank you so much. It worked with your help but i used openweather. You can check it again. and ell me if it is correct in your area. Still need to work on the look of app. Thanx buddy.


#4

When input location it shows it, but don’t forget, that your app should be able to detect the location automatically.


#5

ya i will add it too. I created another app which detects automatically. you may check it here link
I will merge the two.


#6

Checked.

On line 24 you should also use https instead of http.


#7

Ok and what with rest of the code and functionality of app.


#8

Can you check it again. There might bea minor mistake done by me. Currently it is not workingLink


#9

You are missing n in Position on line 5:

navigator.geolocation.getCurrentPositio(gotLocation);

Also codepen should have https://


#10

Yup. I failed to notice the minor mistakes.