Build A React JS Weather App - OpenWeatherMap API - Tutorial

Build a React JS weather app using the OpenWeatherMap API. We will be using axios to connect with our API. There are probably a million ways to build a weather app and this is on a more basic level, but a great way to learn a few core fundamentals in React. Let me know what you think in the comments below.
ZeroTo Mastery:
- Master React JS Course - bit.ly/Learn-React-JS
- Complete Web Developer in 2023 - bit.ly/Complete-Web-Developer...
Learn to code here!
bit.ly/Code-Challenges
OpenWeatherMap API:
openweathermap.org/api
Github Repo:
github.com/fireclint/weather-...
☕ Buy me a Coffee ☕
www.buymeacoffee.com/clintbriley
Instagram 💪
/ fireclint
🔥 My Coding Equipment 🔥
Logitech MX Wireless Keyboard - amzn.to/3xKPFiN
Logitech MX Master 2S Wireless Mouse - amzn.to/3O5WmRD
SAMSUNG 49-Inch Gaming Monitor - amzn.to/3mvUy8M
Shure MV7 USB Podcast Microphone - amzn.to/3O00nqG
Mic Boom Arm - amzn.to/3NHn6YU
Monitor Desk Light Bar - amzn.to/3xzKlyj

Пікірлер: 245

  • @UnknownUnknown-mt1oi
    @UnknownUnknown-mt1oi Жыл бұрын

    This is my first React project and you made it so simple, interesting and attractive.

  • @doobinl8505
    @doobinl85052 жыл бұрын

    Thanks for such a great video, one of the few videos where I was able to follow along the whole way without much hassle and refactoring the tutorial in a modern way just so it works.

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    That’s awesome man thank you! Code does become rather dated pretty quickly!

  • @majebell
    @majebell2 жыл бұрын

    Great tutorial. I've just found your channel, and helped already me a lot! Subscribed! Hope you upload more tutorials/short projects like this!

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thanks for the sub! So awesome!

  • @ramirorenteria7333
    @ramirorenteria7333 Жыл бұрын

    Thank you for the tutorial! Really learned a lot!

  • @usmansahi
    @usmansahi Жыл бұрын

    thank you so much.this is really cool and easy to understand. wish you best of luck for more this type of quick learning videos

  • @melssf7852
    @melssf78522 жыл бұрын

    this tutorial exceeded my expectations and made things so much easier for me thank you so much! :) i will be following and using your tutorials going forward!

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thank you Mels! That’s awesome!

  • @thewpwing
    @thewpwing2 жыл бұрын

    Hi thanks for such a tutorial. First time using axios and find it very easy. Hope you will show such a small but important tutorial.

  • @user-ke9kx4tp7c
    @user-ke9kx4tp7c Жыл бұрын

    Thank you so much man!!!!! It was really helpful

  • @coolguyike
    @coolguyike2 жыл бұрын

    im just learning react but i enjoy your teaching style, thanks brother!

  • @viniciusm.m.7822
    @viniciusm.m.78222 жыл бұрын

    Thanks, dude! Keep it up!

  • @Andyruuuu
    @Andyruuuu2 жыл бұрын

    Fantastic, thank you!

  • @AparnaDhara-zs2kl
    @AparnaDhara-zs2kl5 ай бұрын

    Really educational for beginners!!

  • @Charbasaur
    @Charbasaur2 жыл бұрын

    Great tutorial, I learned a lot. I subscribed and I'm excited for more. Thanks! :)

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thank you dude!

  • @RohanSharma-dr1vy
    @RohanSharma-dr1vyАй бұрын

    thanks for the video

  • @egebarsbozdeniz6257
    @egebarsbozdeniz6257 Жыл бұрын

    I came here because I was struggling with the undefined reading of temp part. Great solution, very straightforward. Well done!

  • @codecommerce

    @codecommerce

    Жыл бұрын

    Thank you!

  • @julianmartinez3154
    @julianmartinez31542 жыл бұрын

    Appreciate the video. Has made so many things very clear for me. Well done sir, looking forward to future videos.

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    You’re awesome Julian, thank you!

  • @grzegorzmolin
    @grzegorzmolin2 жыл бұрын

    Yeaaayy! Such a joy making the first reactive api webpage!! 🥳 Thank you very much!

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Awesome dude!

  • @Atesz0509
    @Atesz05092 жыл бұрын

    Really great and simple guide,subscribed!

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Awesome, thank you!

  • @ganeshsaladi5932
    @ganeshsaladi5932 Жыл бұрын

    This is just brilliant , perfect tutorial exist , i made my first project for resume hurray

  • @moradgrey1173
    @moradgrey1173 Жыл бұрын

    a good extension of that would be changing the background depending on the weather condition

  • @palomamorais2384
    @palomamorais23842 жыл бұрын

    perfeeect , i was struggling to implement open weather, but you made it so simple, thanks a lot!!!!!

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thank you Paloma!

  • @shanu3682

    @shanu3682

    2 жыл бұрын

    Hey.. I completed react js some times ago and looking for some beginners project. Can u help me with that..

  • @tsekonya2141
    @tsekonya21412 жыл бұрын

    Have to say thanks for these videos, was struggling with react for so long but watching these vids has helped me so much. Great content.

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Glad to hear it!

  • @js_dev_uk
    @js_dev_uk Жыл бұрын

    Mate, this was brilliant. Thanks for the tutorial.

  • @codecommerce

    @codecommerce

    Жыл бұрын

    Thanks Matt!

  • @andrei-petrulazar5564
    @andrei-petrulazar55642 жыл бұрын

    Great content! I learned many useful things. thanks a lot !!

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Glad it was helpful!

  • @carlosarmandolariosrojas7870
    @carlosarmandolariosrojas7870 Жыл бұрын

    its simple but very useful, thanks man!

  • @codecommerce

    @codecommerce

    Жыл бұрын

    Thanks man!

  • @duytien69
    @duytien692 жыл бұрын

    Thanks for such a great video! i love this

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thank you very much

  • @romanlupan7576
    @romanlupan75762 жыл бұрын

    Great tutorial and also a good explanation of each step

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Glad you liked it!

  • @the-boss-98
    @the-boss-988 ай бұрын

    I was actually building a similar app by myself and this error 28:07 had me stuck the whole day. Thankfully found this video.

  • @juancamilomarin7985
    @juancamilomarin7985 Жыл бұрын

    Soy de colombia muchas gracias por tus videos por tu enseñanza mil gracias

  • @sheikhrasel854
    @sheikhrasel854 Жыл бұрын

    Amazing ❤

  • @malinosterberg9877
    @malinosterberg98772 жыл бұрын

    Thanks for a great tutorial!

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thank you Malin!

  • @tarekmustafa2525
    @tarekmustafa2525 Жыл бұрын

    Great tutorial, thank you.

  • @codecommerce

    @codecommerce

    Жыл бұрын

    Thank you Tarek!

  • @pouyabh
    @pouyabh2 жыл бұрын

    i'm learning react and i have to say it was a great video for beginners thanks for sharing it

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Glad it was helpful!

  • @javohirshirinboyev3533
    @javohirshirinboyev3533 Жыл бұрын

    Thank you 👍👍

  • @archanarai2423
    @archanarai24236 ай бұрын

    Hey clint awesome work, followed along and completed it. Made some changes as onkeypress and event is deprecated , and played with css styling too. Had an idea about axios but didn't implement it, it was fun playing around with code. Thanks a lot:)

  • @jessiefianu6881

    @jessiefianu6881

    5 ай бұрын

    Hello there, please can you tell me how you went about the onKeyPress. It's deprecated in mine too so I'm stuck with the code. Secondly my background image only covers 3/4 of the browser, is there anyway I can fix this? Thank you very much and I am looking forward to hearing from you.

  • @archanarai2423

    @archanarai2423

    5 ай бұрын

    @@jessiefianu6881 hi, since onkeypress was deprecated I used onKeyDown and it worked fine for me. And for covering your whole background image maybe use object-fit property

  • @sablecipher
    @sablecipher2 ай бұрын

    Thanks so much! This was great. Quick question, when it comes to pushing to GitHub, how do we hide the API key?

  • @ElegantCoder
    @ElegantCoder Жыл бұрын

    Great video again just completed it here is the code snippet to check if no city is found axios.get(url).then((response) => { setData(response.data); }).catch((error) => { alert(error.response.data.message) })

  • @harshanabatagalla
    @harshanabatagalla Жыл бұрын

    Thanks !

  • @mohamedpeterson557
    @mohamedpeterson5572 жыл бұрын

    thank you so much for this video it was amazing project

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thank you Mohamed - cheers dude!

  • @simranbanwait
    @simranbanwait2 жыл бұрын

    sir you have no clue how much i struggled to find a way to run a function on a key press, , this video helped alot , thankyou so much

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thanks man- I know that’s frustrating! Haha

  • @Abduraxmonm416
    @Abduraxmonm4163 ай бұрын

    good job my frends bravo

  • @engbesher7479
    @engbesher74792 жыл бұрын

    keep it up best tutorial ever it works with me thanksssssssss

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    You’re the man! 💪

  • @joaquin_carp
    @joaquin_carp2 жыл бұрын

    thanks for your video, i really help me! greetings from Argentina.

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Glad it helped! Thank you so much dude!

  • @JuNe-rm6pk
    @JuNe-rm6pk2 жыл бұрын

    Very good tutorial! Really helpfull! 👍 Maybe can we wish for a tutorial about a travel map app. something like that? That would be great. Thank you! 🙏

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Great suggestion! That would really be cool - add in google map API!

  • @toyosisalami6453
    @toyosisalami64532 жыл бұрын

    Thank you so much for this tutorial! It was really fun and I learned a lot, including a previously unknown (to me) JavaScript method: toFixed()

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    That's awesome man - Glad it helped!

  • @okage_
    @okage_ Жыл бұрын

    hi, i made a seperate component for the search and for the actual information, how would i get the weather info from the search component to the information component so it can be displayed?

  • @obinnailoanya8730
    @obinnailoanya87302 жыл бұрын

    I started Learning React Last month and it felt different from Vanilla Javascript but you made it simple, after seeing this video, i play around with Rapid API, i am forever subscribed to this channel and if you decide to leave youtube, i will follow you to anywhere so i can learn whatever you know, lol. YOU MAKE IT VERY VERY VERY VERY SIMPLE. Thank you so much Sir

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thank you so much man! React makes things so incredibly easy!

  • @nanatieku5805

    @nanatieku5805

    Жыл бұрын

    How's the journey being so far Obinna? I started learning React a few weeks now. It's going quite well so far

  • @obinnailoanya8730

    @obinnailoanya8730

    Жыл бұрын

    @@nanatieku5805 I’m a pro now, I use it as the front end to the full stack applications I build, I use typescript too

  • @aymenbachiri-yh2hd
    @aymenbachiri-yh2hd7 ай бұрын

    thank you

  • @lucasamaral5429
    @lucasamaral5429 Жыл бұрын

    Great video

  • @vinaygoswami5374
    @vinaygoswami53742 жыл бұрын

    This is one of the best tutorial for using basic API

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thanks Vinay!

  • @ayxan3950
    @ayxan39502 жыл бұрын

    Thank you This video is helpful

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thank you sir!

  • @Hoesayyyyyyy
    @Hoesayyyyyyy2 жыл бұрын

    Hell yeah man thanks explained everything perfectly i am going to try making a train schedule app now

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Glad I could help - that sounds like an awesome project dude!

  • @Hoesayyyyyyy

    @Hoesayyyyyyy

    2 жыл бұрын

    @@codecommerce thank you my brother you helped me out a lot

  • @tiagocosta2689
    @tiagocosta2689 Жыл бұрын

    Great video!

  • @codecommerce

    @codecommerce

    Жыл бұрын

    Thank you Tiago!

  • @hawks2271
    @hawks2271 Жыл бұрын

    Good job👏🇧🇷

  • @knightridergaming1106
    @knightridergaming1106 Жыл бұрын

    A new subscriber from Pakistan , Thanks really simple and straight forward 🥰

  • @codecommerce

    @codecommerce

    11 ай бұрын

    Thank you man!

  • @IamPetrus
    @IamPetrus9 ай бұрын

    Thank you for this walkthrough. On 7:48, did you add an emmet extension? figuring out right now how to get that Emmet Abbreviation suggestion to keep saving time. Current emmet extensions I have do not throw me options like yours

  • @DeyDreamMusic

    @DeyDreamMusic

    8 ай бұрын

    I'm wondering the same thing, way faster workflow

  • @lucaspereira5388
    @lucaspereira5388 Жыл бұрын

    hello men great video but the current API don't have the location parameter, only the latitude, and longitude

  • @orielamar1620
    @orielamar1620 Жыл бұрын

    I didnt understand what you did with the json file of the API result on 6:42. can i get an explaination of what was that and how to do it ? please :)

  • @phild5339
    @phild533911 ай бұрын

    how could you alter this project so that you have a "gallery" of the different weather data for differnet locations?

  • @bhargav8263
    @bhargav8263 Жыл бұрын

    great tutorial, thank you

  • @varunupadhyay2488

    @varunupadhyay2488

    Жыл бұрын

    does this api still working? should i follow this video?

  • @bhargav8263

    @bhargav8263

    Жыл бұрын

    @@varunupadhyay2488 yes working,api works after half an hour

  • @dannykennah2007
    @dannykennah2007 Жыл бұрын

    what happens if the user enters something that isn't a city? its not really finished.

  • @isurudeshan420
    @isurudeshan4209 ай бұрын

    thanks

  • @adtddeathcore
    @adtddeathcore2 жыл бұрын

    esta tan bien explicado que aun sin dominar el ingles se entiende perfecto, excelente tutorial

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Gracias 🙏

  • @vasiliskalfopoulos7848
    @vasiliskalfopoulos7848 Жыл бұрын

    very good job you can also add .catch in search location , in case someone type a location that not exist , like dradubau const searchLocation = (event) => { if (event.key === 'Enter') { axios.get(url).then((response) => { setData(response.data) }).catch((error) => { console.error('Error fetching weather data:', error); setLocation(''); }); } }

  • @codecommerce

    @codecommerce

    Жыл бұрын

    Thank you sir!

  • @GoodGuyHeffy
    @GoodGuyHeffy9 ай бұрын

    at 26:46 I keep just getting axios 404 errors. On the open weather site I had to scroll way down to find the API call example in this video. Says its no longer being supported, and the newer version uses Latitude and Longitude. Anyone know how to fix? API stuff is where im the weakest rn and I have a React interview in 2 days :/

  • @nedagholami374
    @nedagholami374 Жыл бұрын

    Excellent🤩

  • @codecommerce

    @codecommerce

    Жыл бұрын

    Thank you!

  • @kingsleyezikeoha5023
    @kingsleyezikeoha5023 Жыл бұрын

    an amazing video , thanks for this ,will be locked into your channel

  • @anask550

    @anask550

    Жыл бұрын

    can you please help me at 11:11 , the star wont work, what else can i use instead of it?

  • @codecommerce

    @codecommerce

    Жыл бұрын

    Thank you!

  • @lewisnt_
    @lewisnt_2 жыл бұрын

    good work bro keep it up

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thank you, I will

  • @michaellevi6743
    @michaellevi67432 жыл бұрын

    Awesome work Clint. Is there a way to have it automatically display from your browsers location vs. searching for a location. I haven't watched your whole video yet so not sure if you covered it or not

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thank you sir! I didn’t even think about that, but I’m sure you can!

  • @jinda002
    @jinda00211 ай бұрын

    Im not sure what im doing wrong but the ${location} in the URL string doesnt update from the input.. my axios is getting error

  • @nikebelias7527
    @nikebelias7527 Жыл бұрын

    Use an extension to right import react from 'react'';.... This extension named: ES7+ React/Redux/React-Native snippets Then right rafce in each react functional component, for class based component rcc

  • @kevinm5898
    @kevinm58982 жыл бұрын

    Love the tutorial! First city entered is my city! Haha

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Haha bonus!

  • @jiyoungkim9258
    @jiyoungkim92582 жыл бұрын

    So nice 👏

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thank you sir!

  • @nehat786
    @nehat7862 жыл бұрын

    Great content it would be great if we see some easy more stuff with some bootstrap or material css

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    I should familiarize myself a little better with CSS libraries. I'm not a huge fan of bootstrap however I think material and tailwind is a little more appealing!

  • @anupprajapati6843
    @anupprajapati68432 ай бұрын

    What if you entered the city that does not exists , you should add condition to display "City Not Found" for that matter. Otherwise its 10/10 app Great!!!

  • @codecommerce

    @codecommerce

    2 ай бұрын

    That would be a nice addition

  • @anask550
    @anask550 Жыл бұрын

    what can i use instead of the star at 11:11 ?

  • @kevinleon4621
    @kevinleon46216 ай бұрын

    Thanks papi

  • @chandrakethans5835
    @chandrakethans5835 Жыл бұрын

    Built my first react application thank you so much :)

  • @codecommerce

    @codecommerce

    Жыл бұрын

    Awesome dude!

  • @varunupadhyay2488

    @varunupadhyay2488

    Жыл бұрын

    does this api still working? should i follow this video?

  • @chandrakethans5835

    @chandrakethans5835

    Жыл бұрын

    @@varunupadhyay2488 yeah the api working it’ll take sometime to become active after that it’ll work just fine

  • @dharapandya2045

    @dharapandya2045

    4 ай бұрын

    Is it still working or not? Pls reply ​@@varunupadhyay2488

  • @hcw1566
    @hcw1566 Жыл бұрын

    This tutorial really helps me to practice React with API~ At the end of the course, I found that while refreshing the website , the unit of temperature would still exist .I’d say that because it was written in ".top" not in ".bottom" . Was it right? Then i am trying to change the backgroung URl via using Pexel API . Hope it works.~~~

  • @codecommerce

    @codecommerce

    Жыл бұрын

    How are you making the API call?

  • @hcw1566

    @hcw1566

    Жыл бұрын

    ​@@codecommerce Pexel API can be used by searching pictures whatever keywords you want , with the location in weather website , it can search the weather and the pic at the same time ,and if i can't seacrh the city that i would use the default pic to display . But i did come up with a problem that i still can't figure it out , screen would flickered with the default pic while refreshing or searching new location . Sorry about that my English isn't really good.

  • @xnetch2024
    @xnetch2024 Жыл бұрын

    20.01 for stating state main part

  • @vitslama
    @vitslama Жыл бұрын

    Mby use bootstrap next time it would save a lot of time with the styling

  • @victoria-exito
    @victoria-exito2 жыл бұрын

    Hi! Thanks for your video! It is excellent!! Could you set up the wrapping text for your code? That way we will be able to see your code lines at any time! God Bless you! :)

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thank you - I'll try and keep that in mind.

  • @devenderkumar-pr6ig

    @devenderkumar-pr6ig

    2 жыл бұрын

    I having a issue i am not able to see bottom details(humidity,wind speed etc)/below the page its showing white space only

  • @michaellevi6743
    @michaellevi67432 жыл бұрын

    Hey Clint hope all is well brother/ So I have a question for you, is there a way to make the hamburger sub menu auto close. As it stand now if you open the menu and increase the size of the screen the menu stays open and then you have to reshrink it to get the "x" back to close the menu out. Any suggestions?

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    I didn't even realize that - sorry man! We should be able to add "hidden" in a media query.

  • @emiliafuks2594
    @emiliafuks25942 жыл бұрын

    Hi, thanks for this. Really helpful. I'm just wondering why you're keeping your API Key just hanging there out in the open? Any reason for that?

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Hi Emilia! No- I should’ve put it in a .env file 🤫😏 hehe

  • @chucknorris7995

    @chucknorris7995

    Жыл бұрын

    @@codecommerce Do you have a video on .env files? I've been meaning to figure how to use them. Also, the feature: get current weather data by city has been depracated. Is still works tho. I been trying to get the coordinates from their geolocation api and then pipe that in to another api call.Kinda struggling with it. lol Thanks for the awesome content!

  • @JehadiHellTransportAgency
    @JehadiHellTransportAgency Жыл бұрын

    man i create apps fine but learning CSS with you really helped me a lot thanks from INDIA brother loved this project a lot

  • @codecommerce

    @codecommerce

    Жыл бұрын

    Thanks dude! Much love! 💪

  • @maazmuhammad1013
    @maazmuhammad1013 Жыл бұрын

    Increase the font size of Vs code so its easier to follow along. Thank you.

  • @codecommerce

    @codecommerce

    Жыл бұрын

    Will do!

  • @camo4970
    @camo4970 Жыл бұрын

    on minute 20:20 , why did you initialize the first state with {} as an object and the second one with "" as a string? how do i know when to use those?

  • @archanarai2423

    @archanarai2423

    6 ай бұрын

    I think it's because the data is gonna refer to whole json data object where as location is used only to store city name so it's initialized as empty string

  • @Bri-Official-Selftalks
    @Bri-Official-Selftalks2 жыл бұрын

    The fahrenheit is bit off for me, i.e. when I type in Dallas I get 9F instead of 49F. what may be causing this issue?

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Hmm sounds like you may be getting back celcius instead of fahrenheit perhaps? You would just need to alter the url value.

  • @vevagaanandanpillai
    @vevagaanandanpillaiАй бұрын

    I was scratching my head because of the back ticks in the "url" variable. 😂

  • @florencioaverroes7104
    @florencioaverroes7104 Жыл бұрын

    I made a project like yours, following all those steps and I've finishided it. But, my extension "Live Server" isn't working all at. I've tried every option to have my project displaying on my browser and I couldn't. The things I've tried: - host IP; - choosing another browser; - windows's default browser; - linking CSS to ReactJS; - opening the project with the directory of origin; - naming the folders correctly. Do you have another option to suggest me? -- If you can help me out, I will be pleased. I need your help 😢😢😢 Anyways, buddy, nice tutorial and great job! Congrats!

  • @nyashamusanhu541
    @nyashamusanhu5412 жыл бұрын

    What if I want to print those responses to any specified file format like csv?

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Hi Nyasha, I would have to look that up. I am not sure off the top of my head.

  • @aurrelko
    @aurrelko2 жыл бұрын

    Thanks for tutorial buddy, just wanted to say that your warning it was in line 43 need to be ( !==).

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thank you Aurrel- I appreciate that.

  • @aiortairaan5458
    @aiortairaan54582 жыл бұрын

    Which extention have you used for creating div with classname directly using the dot operator?

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    That is with vs code “emmet”. I believe it comes natively.

  • @aiortairaan5458

    @aiortairaan5458

    2 жыл бұрын

    @@codecommerce yup got it sorted

  • @rohithuneeks7184
    @rohithuneeks7184 Жыл бұрын

    Should this project contains 2 microservices communicating each other ?

  • @Meithe1
    @Meithe12 жыл бұрын

    Hey Clint, thanks a lot por the vid!! I was wondering how to add an image based on the data for ex, when its raining a rainy img in the background. Also if you could tell me how to make it responsive for mobiles, im a noob with react D:

  • @carlosamaral6917

    @carlosamaral6917

    2 жыл бұрын

    Just watch other videos Clint has to make it responsive. About changing the image according to the weather, watch the bmi one, because he implements it there. I'll do that myself too... But now that I see better, this app is already responsive!

  • @Meithe1

    @Meithe1

    2 жыл бұрын

    @@carlosamaral6917 Will do, but is it? I coded it watching the vod and when i open it with my cellphone it shrinks on the bottom

  • @carlosamaral6917

    @carlosamaral6917

    2 жыл бұрын

    @@Meithe1 I think that's the idea

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Thanks Carlos!

  • @carlosamaral6917

    @carlosamaral6917

    2 жыл бұрын

    @@codecommerce You're welcome!!

  • @fatmamostafaa8118
    @fatmamostafaa81182 жыл бұрын

    I have a proplem everything is going well except when i take the weather.json data inside the file are not shown can you help me please

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Fatma, do you have a gh?

  • @soumyadipsamanta33
    @soumyadipsamanta332 жыл бұрын

    What happened in 6:43 I didnt get it and how the weather(1).json changes into like that

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    So I just copied the response and pasted into a js file. When I saved it, the data was formatted nice and “pretty”. I’m using the “Prettier” ext to format all of my code.

  • @camo4970
    @camo4970 Жыл бұрын

    how did you format the json info that you saved from the website into vscode?

  • @codecommerce

    @codecommerce

    Жыл бұрын

    If you are referring to how it’s formatted in vscode then that is all vscode! :)

  • @camo4970

    @camo4970

    Жыл бұрын

    @@codecommerce yeah man! I got it formatted when I installed the prettier extension. 👍

  • @pubgwala5104
    @pubgwala510410 ай бұрын

    28.22 you could have just used optional chaining

  • @miltonpena1662
    @miltonpena16622 жыл бұрын

    Hi Im triying to use this tutorial but the Api is now a version 3.0 , Im not being able to follow it because theres is no city parameter on the 3.0, the one that you use is a 2.5

  • @codecommerce

    @codecommerce

    2 жыл бұрын

    Ah yes, the world of tech - always evolving!