Build a Weather App in VueJS | Vue Beginner Tutorial

  Рет қаралды 201,262

Tyler Potts

Tyler Potts

Күн бұрын

Пікірлер
@edita_gaming
@edita_gaming 3 жыл бұрын
Wonderful tutorial! Please keep it up, the world needs more of this ❤
@TylerPotts
@TylerPotts 3 жыл бұрын
Thank you! :D
@aesap_
@aesap_ 2 жыл бұрын
This was my first vue tutorial and this guy explained everything great
@dudzpedra
@dudzpedra 3 жыл бұрын
just completed my second project of the day thanks to you! such a great feeling of accomplishment!
@raphaelaglogg9053
@raphaelaglogg9053 Жыл бұрын
Hi there! I have an assignment in school where I need to submit a Vue application. It sounds like you have mastered this task. It's a bit embarrassing for me to ask, but would it be possible for me to have a zip folder of your work?
@ShadowDragon81621
@ShadowDragon81621 3 жыл бұрын
I'm doing this in my website development class and oh my lord I did not understand how to use Vue very well but I really want to say thank you because you made that so much easier then what I was thinking it was going to be. I actually have some understanding of it now and used a lot of what you did in my project and it works and looks so much better. Thank you so much!!
@yafigamtina
@yafigamtina Жыл бұрын
This guy's tutorials are so clear
@petipois28
@petipois28 3 жыл бұрын
Used this as a base for my 4th app in my quest to create 30 ionic vue apps in 30 days. I added moment js for the date and used unsplash for my images. Nice Tutorial. Thank you for your good work.
@larry9556
@larry9556 Жыл бұрын
Was not expecting Northampton to get a shoutout in this vid, went from a 9/10 to a 10
@asishraz6173
@asishraz6173 3 жыл бұрын
You made it simple, though not for beginners. I genuinely loved it and will re-visit again for more clarification. Thank you so much for making this sharable amongst us.
@TylerPotts
@TylerPotts 3 жыл бұрын
Glad it was helpful!
@baldbankrupt
@baldbankrupt 4 жыл бұрын
Hey, great video!! Instead of fetching the results and push it with another function to the weather object I'd use an async function for both of it: async fetchWeather(e){ if (e.key == "Enter") { let response = await fetch(`${this.url_base}weather?q=${this.query}&units=metric&APPID=${this.api_key}`); let json = await response.json(); this.weather = await json; }
@TylerPotts
@TylerPotts 4 жыл бұрын
Thanks
@alekkendoge
@alekkendoge 2 жыл бұрын
.then() call automatically awaits for the prev async function to finis
@murtazanoori6414
@murtazanoori6414 2 жыл бұрын
is it possible to change the video background instead of image ? i mean accouding to the weather condation ? if yes can you help me please ?
@anurag3487
@anurag3487 3 жыл бұрын
you're very fast and quick in CSS, subbed :)
@RodneyKimbangu
@RodneyKimbangu 3 жыл бұрын
Legendary, my friend! I was looking for reasons not to use Vue js, but you gave me reasons to. Thank you!
@jeury3012
@jeury3012 3 жыл бұрын
Great video! for the dateBuilder() method consider using moment.js... you could do something like: dateBuilder() { return moment().format('dddd D MMMM YYYY'); } cheers edit: install moment by doing `npm install moment --save` then import it in your App.vue file `import moment from 'moment';`
@00el04
@00el04 3 жыл бұрын
Just found out your channel, subbed! I hope you can do more of these Vue.js videos in the future Tyler!
@barnabyhillis974
@barnabyhillis974 3 жыл бұрын
Great video, easy to follow style, if people don’t want to see the CSS they can skip through!
@TylerPotts
@TylerPotts 3 жыл бұрын
Glad you liked it!
@zaqueuorlando801
@zaqueuorlando801 3 жыл бұрын
This was a great one and supper easy to follow
@TylerPotts
@TylerPotts 3 жыл бұрын
Thank you!
@szebasztianlukity8705
@szebasztianlukity8705 2 жыл бұрын
Hey Tyler. Great project, loved it. I just wanted to point out that you should think about increasing the font size. Keep up the good work!
@TylerPotts
@TylerPotts 2 жыл бұрын
Thanks for the tip!
@readerrabbit6690
@readerrabbit6690 4 жыл бұрын
Please note that removing the &units=metric entirely will return the temperature as Kelvin. To get Fahrenheit use &units=imperial
@ahmadfirdaus9423
@ahmadfirdaus9423 3 жыл бұрын
the real frond end, good job
@TylerPotts
@TylerPotts 3 жыл бұрын
Thanks
@carlosmartinezsanchez2144
@carlosmartinezsanchez2144 2 жыл бұрын
what a CSS master
@TylerPotts
@TylerPotts 2 жыл бұрын
Thanks! 😂
@sampower7887
@sampower7887 3 жыл бұрын
Cheers for the refresher :D
@ahmedouyahya
@ahmedouyahya 2 жыл бұрын
Thanks a lot. You just earned another subscriber
@Gthefray
@Gthefray 4 жыл бұрын
Thank you! This was really fun to make. I've only just discovered vueJS this week and was eager to find another project to try out. I'll try to include a search icon into the search bar and tinker with the weather box. And whatever else comes to mind.
@michelefernandez5893
@michelefernandez5893 4 жыл бұрын
This was my first time playing with Vue. It was fun to have something up and running in less than an hour. Thank you for that!
@timetolive4869
@timetolive4869 3 жыл бұрын
Man this is just awesome :) you got a new sub to the channel! and honestly I was blown away from the quick styling of the web app!
@TylerPotts
@TylerPotts 3 жыл бұрын
Awesome, thank you!
@caucasusdweller
@caucasusdweller 2 жыл бұрын
You are amazing bro, same website different technologies so we understand it better
@TylerPotts
@TylerPotts 2 жыл бұрын
Thanks and welcome
@gboladepopoola4464
@gboladepopoola4464 4 жыл бұрын
Thank you! Helped my understanding of Vue. I would also appreciate if you make a video where props are passed between components in Vue
@sanghoonkim339
@sanghoonkim339 3 жыл бұрын
I'm Vue beginner and Thank you for your awesome video!! I'm in discord channel also. I like your speed of video. Have a nice day.
@TylerPotts
@TylerPotts 3 жыл бұрын
Awesome, thank you!
@anlkavuk9437
@anlkavuk9437 2 жыл бұрын
Thanks for your nice Vue.js tutorial. 🙏
@TylerPotts
@TylerPotts 2 жыл бұрын
You are welcome
@k303k
@k303k 2 жыл бұрын
Thanks a lot! Becuase of you i've done created this beautiful weather app.
@mariocalcetin7602
@mariocalcetin7602 4 жыл бұрын
Thank you very much Tyler, it's amazing how fast you build. greetings from Chile .
@TylerPotts
@TylerPotts 4 жыл бұрын
Thank you very much!
@scientist.entity6609
@scientist.entity6609 4 жыл бұрын
Thank you so much for doing this lesson also with vuejs
@TylerPotts
@TylerPotts 4 жыл бұрын
You're welcome!
@joylearn2868
@joylearn2868 3 жыл бұрын
Amazing typing skill and sweet language ❤
@benjaminko7812
@benjaminko7812 4 жыл бұрын
Thanks for sharing! Please keep doing this tutorial
@MissBoom135
@MissBoom135 2 жыл бұрын
Really enjoyed this tutorial, thank you 😄
@monarchgam3r
@monarchgam3r 3 жыл бұрын
Love from Nigeria 👍🏾
@alloo12dal
@alloo12dal 4 жыл бұрын
Great Tutorial! This really helps understand the inner workings of vue with the fetch API
@ndrewhas
@ndrewhas 3 жыл бұрын
Excellent work, thank you! I'm seriously hooked on your channel! I just wanted to add that if we move the checks from the template to the computed properties, then the template looks cleaner
@TylerPotts
@TylerPotts 3 жыл бұрын
Thanks for that!
@wagnerfix
@wagnerfix 4 жыл бұрын
Thank you so much, great example. This help me for to learn vue more.
@DeLvoy1988
@DeLvoy1988 3 жыл бұрын
You can first set 'weather' as null, so to display a div you need only v-if="weather", weather will be as a true after fetchWeather method
@ram-bk4mu
@ram-bk4mu 3 жыл бұрын
mad skills man!
@handsomecat7225
@handsomecat7225 3 жыл бұрын
Great tutorial. Thanks Tyler.
@michaeldrexler9822
@michaeldrexler9822 3 жыл бұрын
This was one of the best Programming-Tutorials ever. I wish more would be like that one! For that great Video i left a subscription to your channel :)
@fabianlaumer838
@fabianlaumer838 3 жыл бұрын
same opinion
@readerrabbit6690
@readerrabbit6690 4 жыл бұрын
I suggest you should show how to access the returned json so we can better understand the elements available to be called. I know that's something perhaps considered rudimentary but it really only should take a few seconds to explain.
@mohamedannajar3140
@mohamedannajar3140 4 жыл бұрын
Bro I love your tutorials thank you ^^
@TylerPotts
@TylerPotts 4 жыл бұрын
No, Thank you! :)
@00el04
@00el04 3 жыл бұрын
where did you get weather.main? is that on the API response?
@a_rod1678
@a_rod1678 3 жыл бұрын
Where do you get the url_base of openweather?
@swapnilbhojane6922
@swapnilbhojane6922 4 жыл бұрын
Really nice app you made...
@faizboy101
@faizboy101 3 жыл бұрын
thank you Tyler. very informative.
@caiojns
@caiojns 4 жыл бұрын
Brilliant tutorial mate. Really good indeed!
@TylerPotts
@TylerPotts 4 жыл бұрын
Thank you! Cheers!
@ministersport
@ministersport 3 жыл бұрын
Thank you bro, so useful video!
@TylerPotts
@TylerPotts 3 жыл бұрын
Glad it was helpful!
@canerdemircigm
@canerdemircigm 4 жыл бұрын
for starting to the vue this is great tutorial. Thanks.
@al_peterson
@al_peterson 3 жыл бұрын
thanks for the tutorial! great stuff!
@TylerPotts
@TylerPotts 3 жыл бұрын
Glad it was helpful!
@jjkelsey1180
@jjkelsey1180 4 жыл бұрын
Thank you so much, Tyler. This is a really great tutorial :D
@hackathon-bestmostar273
@hackathon-bestmostar273 4 жыл бұрын
Nice, you really helped me to understand vue.js more clear.
@vladharanich
@vladharanich 4 жыл бұрын
thank you, it's really good idea for an app. Already subscribed and pushed the like button :)
@TylerPotts
@TylerPotts 4 жыл бұрын
Hero!
@rogerpantil9483
@rogerpantil9483 4 жыл бұрын
nice tutorial, had to put it at 0.5 - 0.75 speed to follow up xD
@taylorfreeman7782
@taylorfreeman7782 4 жыл бұрын
Great stuff! Thanks Tyler.
@elitedesignhub415
@elitedesignhub415 3 жыл бұрын
This tutorial is wonderful 💯🔥🔥🔥❤️
@TylerPotts
@TylerPotts 3 жыл бұрын
Thank you 🙌
@HansNiemann762
@HansNiemann762 4 жыл бұрын
Disclaimer : Half the Video is just CSS
@nishantgupta1854
@nishantgupta1854 4 жыл бұрын
buy worth it bruh]
@TylerPotts
@TylerPotts 4 жыл бұрын
@@nishantgupta1854 Thank you! I never know if I should keep the css in or just do the CSS before the tutorial :/
@nishantgupta1854
@nishantgupta1854 4 жыл бұрын
@@TylerPotts Your videos really good. Thank you so much tyler .Please upload more in vue js
@ashleyspianoprogress1341
@ashleyspianoprogress1341 4 жыл бұрын
@@TylerPotts I recommend keeping the CSS explanation, but also saying something like "If you're not interested in the CSS you can copy it from GitHub and skip to XX:XX"
@aleb687
@aleb687 3 жыл бұрын
@@TylerPotts paste the chunk and quickly go through it explaining the main points. CSS is really tedious for non beginners
@AfolabiJude
@AfolabiJude 4 жыл бұрын
Nigeria to the world!
@nicolasbavamusic
@nicolasbavamusic 3 жыл бұрын
Thank you very much!! very clear and very interesting. have a nice day!! :))
@TylerPotts
@TylerPotts 3 жыл бұрын
Thank you! You too!
@charljones7266
@charljones7266 4 жыл бұрын
Really helped understand Vue, thanks
@dfordemo981
@dfordemo981 3 жыл бұрын
its beautiful
@benzemafan67
@benzemafan67 4 жыл бұрын
Really awesome and satisfying to code, thank you !
@ELGANDUZ
@ELGANDUZ 4 жыл бұрын
Hello, I followed the video (only used different API) and the weather object is always undefined, by doing some testing seems like the method .setResults doesn't get executed. Anyone can help me?
@vuejsdev
@vuejsdev 4 жыл бұрын
I really appreciate your work, thank you.
@elicoptericus
@elicoptericus 4 жыл бұрын
I think you could have skipped the if key == enter by using the @keypress.enter shorthand. Edit: Also the entire fetchWeather method could be made a lot less verbose by using async/await. const res = await fetch(); this.weather = await res.json(); I know it's a beginners tutorial but it would be a nice example of using it for beginners too.
@TylerPotts
@TylerPotts 4 жыл бұрын
Very true next time I will keep both in mind! I know Asynchronous throughs people off!
@incredibleindians4872
@incredibleindians4872 4 жыл бұрын
@@TylerPotts i used keypress.enter :P
@akashaj4660
@akashaj4660 4 жыл бұрын
Thank you! Awesome Tuts
@Latif127
@Latif127 4 жыл бұрын
Awesome tutorial
@CharithJayasanka
@CharithJayasanka 4 жыл бұрын
Great and simple tutorial (y) Keep it up
@cubedev4838
@cubedev4838 4 жыл бұрын
Amazing, i found your channel today!!!
@wixl4700
@wixl4700 4 жыл бұрын
nice little method to display the time of each place the user searches. curTime (){ var tdiff = this.weather.timezone; var vMili = tdiff * 1000; var x = new Date().getTime(); var z = x + vMili; var y = new Date(z).toISOString().slice(11, -8); return y; } just put {{ curTime() }} where you want to display it
@danielpietschmann5294
@danielpietschmann5294 2 жыл бұрын
awesome tutorial! :)
@rainzeewang
@rainzeewang 4 жыл бұрын
Super useful I hope you can come up with more basic tutorials
@AustroPower
@AustroPower 4 жыл бұрын
Hello Tyler, i want to thank you for these great tutorials! :) Keep up the good job with Vue.js/JS! Got a sub from me :)
@natarajana.v4262
@natarajana.v4262 3 жыл бұрын
Thankyou So much for this sir.
@Pages_Perfected
@Pages_Perfected Жыл бұрын
Nice video and very nice accent !
@khaireddinebouras4523
@khaireddinebouras4523 4 жыл бұрын
Awesome Video !! Thanks
@amjadal-hallak3145
@amjadal-hallak3145 3 жыл бұрын
thank you Mr.
@mostmojo
@mostmojo 4 жыл бұрын
bangin' m8, thanks for that. Learned a lot :) Wish we could build a game in Vue!
@TylerPotts
@TylerPotts 4 жыл бұрын
I have a video on building a game in Vue 😂 can't remember which one it is but it's recent
@ranzorethor5295
@ranzorethor5295 4 жыл бұрын
Great tutorial! Random question, where did you get that desktop wallpaper? I wanted something just like it but couldn't find one anywhere.
@MM-um1sq
@MM-um1sq 4 жыл бұрын
that was awesome, thanks.
@TylerPotts
@TylerPotts 4 жыл бұрын
Glad you liked it!
@leonardpalma6483
@leonardpalma6483 4 жыл бұрын
Is it safe to put your api key in a data object/method in a Vue application?
@brylleclarido
@brylleclarido 4 жыл бұрын
I used the url_base you used. But it doesn't work for me. Where did you get the part for url_base?
@gthotaku339
@gthotaku339 4 жыл бұрын
yes please
@tomasvaitkevicius4191
@tomasvaitkevicius4191 4 жыл бұрын
make sure your url is correct, url_base has to end with the slash, check the console to see request url
@dusvirymarin9025
@dusvirymarin9025 3 жыл бұрын
wonderful!!!!1 thanks
@captainezchord
@captainezchord 4 жыл бұрын
Awesome work! Do you think you could make one that elaborates on the function that fetches and sets the API data?
@ICSVortex-DCS
@ICSVortex-DCS 4 жыл бұрын
Great video!
@TylerPotts
@TylerPotts 4 жыл бұрын
Thanks!
@danieldonaldson8634
@danieldonaldson8634 3 жыл бұрын
as of 15 minutes in, this is a css tutorial. if you actually want a bud tutorial, watch the first minute, then skip to 15:30
@hosseinghahremani1182
@hosseinghahremani1182 4 жыл бұрын
Thanks Thanks Thanks for the awesome tutorial.
@awreckingball
@awreckingball 4 жыл бұрын
Few looks cool.
@quangtampham6003
@quangtampham6003 3 жыл бұрын
Sorry, May I ask what font color you are using ( One Dark Pro ) ?? Thanks
@GrungeLyrics
@GrungeLyrics 4 жыл бұрын
great video!
@atila5974
@atila5974 4 жыл бұрын
Can you make a video explaining how to change the background according to the description of the weather? Instead of a ternary with two options, maybe a method calling for many different pictures? Thanks in advance
@illestoth9298
@illestoth9298 2 жыл бұрын
You can make a ternary with 3-4 options too
@warrenayiss3012
@warrenayiss3012 4 жыл бұрын
I'm stuck at 22:13 I don't understand the error: localhost/:1 Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0 Promise.then (async) fetchWeather @ App.vue?234e:46 invokeWithErrorHandling @ vue.runtime.esm.js?2b0e:1854 invoker @ vue.runtime.esm.js?2b0e:2179 original._wrapper @ vue.runtime.esm.js?2b0e:6917
@SpencerDavis2000
@SpencerDavis2000 3 жыл бұрын
great tutorial thank you :-)
@TylerPotts
@TylerPotts 3 жыл бұрын
You are welcome!
@kivi6825
@kivi6825 4 жыл бұрын
perfect video :d
@TylerPotts
@TylerPotts 4 жыл бұрын
Thanks!
@Hijra.ma_
@Hijra.ma_ 3 жыл бұрын
Thank you so much
@dfordemo981
@dfordemo981 3 жыл бұрын
how can do autocomplete all the cities in the search bar, how can we do that? 😊😊😊
@iluu90sushi46
@iluu90sushi46 4 жыл бұрын
Hey, thanks for your tutorial. Great job. But have a quastion. I do tha same task, but I have to take weather forecast for 5 days, so in API call I change (from weather to forecast) and nothing. can't view data from json. For example: weather.city.name, and nope. Nothing on screen. need a help
@blackpelican5205
@blackpelican5205 4 жыл бұрын
Nice video and all, but jesus, that intro music belongs to 2014 lol
Build a Weather App in React JS | React JS beginner Tutorial
33:04
Tyler Potts
Рет қаралды 237 М.
Build Weather App with Vue CLI | For Vue JS beginners
51:55
SomTea Codes
Рет қаралды 13 М.
Players push long pins through a cardboard box attempting to pop the balloon!
00:31
Trick-or-Treating in a Rush. Part 2
00:37
Daniel LaBelle
Рет қаралды 46 МЛН
Vuetify: Create an App with Vue JS - in 30 MINUTES!
38:55
Make Apps with Danny
Рет қаралды 150 М.
Vue.js: The Documentary
34:45
Honeypot
Рет қаралды 1,5 МЛН
Build an Income Tracker in Vue JS ~ Composition API
33:43
Tyler Potts
Рет қаралды 18 М.
Build a CHAT APP in VUE and FIREBASE using Vue's Composition API
33:27
VueJS Dropdown Component | A VueJS Basics Tutorial
16:56
Tyler Potts
Рет қаралды 52 М.
Build a Movie App With Vue JS - A Vue 3 Beginners tutorial
53:18
Tyler Potts
Рет қаралды 63 М.
Vuex Crash Course | State Management
1:01:19
Traversy Media
Рет қаралды 400 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,6 МЛН
Build a Weight Tracker with Vue JS | Composition API Vue 3
25:21
Tyler Potts
Рет қаралды 15 М.