Building a Weather App using Javascript

preview_player
Показать описание
Screencast #15

It’s been a long time since I posted. I have been busy with some personal and commercial projects. I recorded this
video almost six month ago but I was too lazy to indulge into the enditing. But it’s here finally.

Do Subscribe to my channel and give a Thumbs up to my videos. Thanks!

Links:

--
Upamanyu Das

Рекомендации по теме
Комментарии
Автор

Great tutorial. Very explicit and helpful. I will be checking out more of your videos and subscribing to your channel!

drumguy
Автор

This really helped me understand the code behind simpleweather js. Thank you for the help!

Durkee
Автор

I followed the tutorial and everythhing works great! Thanks a lot!

xZaGaMeRx
Автор

Thank you, I followed along and everything worked fine!
Did it on OS X using Sublime 2.

lukehero
Автор

How do you like using Brackets as your text editor? Have you used any other ones? I currently use sublime!

jakemendala
Автор

Very nice! How would you enter a search bar if someone wants to see the weather in different cities?

vitran
Автор

Thank you very much, very well explained!

hmlh
Автор

quick question +Upamanyu Das I got it working, its cool, only, on the city, instead of reading Diamond Bar, CA, it reads Neptune, whats up with that?

Edit: Also, just noticed it changed from Neptune to Denver? any tips would be helpful, thank you!

johnramirezgfx
Автор

Hello,
Do you know if it is possible to make a rule that call a specific background of the site, if a specific weather.code is called? If so, how?
Thanks..

martinskjdtdein
Автор

thank you for this video! How about I only need one predefined geolocation?

oemschutz
Автор

in the javascript file line10 inside method setInterval you send the paramerter "getWeather", where did you initilaized this param?
i dont see it in the code,
i got error from Console:
"Uncaught ReferenceError: getWeather is not defined"

maoravitan
Автор

To anyone using this, the final code is broken. Here's what is wrong:
- 'getWeather' function is undefined and no it is not in the simpleWeather plugin. As well, if you put the 'loadWeather' function through setInterval method it will not work since it requires the location parameters to be passed through. And you cannot just do this: setInterval(loadWeather(location), 10000).

Instead you can:
- Set a global variable, 'x'.
- Have the geolocation if statement assign 'position.coords.latitude + ', ' + position.coords.longitude;' to that global variable.
- Then in the next line run the function as 'loadWeather(x);
- Lastly set the setInterval as an anon function running loadWeather, like this: setInterval( function() { loadWeather(x); }, 10000);

jebbush
Автор

this is a website not an app how to change ?

rantly
Автор

hello I have no mistake, but it does not work when I look or there is a mistake I do not find
(anonymous) app.js:3 + ', ' + position.coords.longitude);

VariousSoundEffects
Автор

Should have explained in detail how to use/access the api's.

rohit-ldfc
Автор

thank u so much for your tutorial.. I did it through your tutorial...add more videos

pourakhupreti
Автор

How did you get autocomplete for "coords" to work?

paulbelfrage
Автор

I am not able to run the local server, how do we run it?

aphadke
Автор

hey i got the error like getWeather is not defined...can you help me on this?

YashThakkar
Автор

awesome! is it possible to  implement local time also?

rizkallahsalloum
join shbcf.ru