Complete Weather app Using React - Weather API

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ต.ค. 2024

ความคิดเห็น • 209

  • @eliasobed5743
    @eliasobed5743 ปีที่แล้ว

    You are the best, freely you gave to the people, without holding back. Your tutorial is still the best.

  • @FoodKrumbs
    @FoodKrumbs 4 ปีที่แล้ว +6

    I wish more people would be this great at tutorials. You walked through all the steps and showed where you were getting your data. So simple to follow! Thanks for taking the time to make a quality tutorial.

  • @ashikas9385
    @ashikas9385 3 ปีที่แล้ว +2

    Thank you soooo much for the tutorial and you explained it soo well. Helped me out even in the last moment of my college work. Thank you again

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว

      Most welcome. Keep learning

  • @mahakgupta5165
    @mahakgupta5165 4 ปีที่แล้ว +2

    Thanks. As a beginner,I learned a lot.

  • @ahmadswalih439
    @ahmadswalih439 3 ปีที่แล้ว +1

    Great Tutorial keep posting these types of videos . Thanks

  • @brankokuridza8386
    @brankokuridza8386 5 ปีที่แล้ว +4

    Great tutorial! Thank you.
    Hint for learners like me- Please be aware that you should add error handler on API request. If 404 returned, your app will crash :( Small changes can solve this. Cheers!

    • @DailyTuition
      @DailyTuition  5 ปีที่แล้ว +1

      Thank you 😊 keep learning 🤗

    • @oumaimahajri6559
      @oumaimahajri6559 4 ปีที่แล้ว

      can u help me to find solution ?

    • @brankokuridza8386
      @brankokuridza8386 4 ปีที่แล้ว +1

      @@oumaimahajri6559 It was long time ago when I wrote this but try to add exception in JS. Then just show some notification if you get an error or simply just log out it :) hope that might lead you in right direction.

  • @rebazawbary9944
    @rebazawbary9944 ปีที่แล้ว

    Very good project

  • @rumanzahid6671
    @rumanzahid6671 4 ปีที่แล้ว +1

    World best channel

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      Thank you so much ❤️

  • @Laura11001
    @Laura11001 3 ปีที่แล้ว +2

    Thank you, this was easy to follow and helped my understanding!

  • @gareeb_londa4162
    @gareeb_londa4162 3 ปีที่แล้ว +1

    Thank you ..u re the best bro

  • @Hiddenflower
    @Hiddenflower 3 ปีที่แล้ว +2

    I do have a question about why we are placing "undefined" for our values in this.state. Why are we not using empty quotation marks? Thank you in advance!

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว +1

      It doesn't matter. You can use empty quates as well. This is just for initialization

    • @Hiddenflower
      @Hiddenflower 3 ปีที่แล้ว

      @@DailyTuition Okay, thank you for clarifying!

  • @Nachoxt17
    @Nachoxt17 4 ปีที่แล้ว +1

    THANKS 4 THIS TUTORIAL BRO, 200% USEFUL

  • @galibahmedturjo2783
    @galibahmedturjo2783 4 ปีที่แล้ว +3

    whenever I type something other than city or country name the app breaks and gives "Unhandled Rejection (TypeError): Cannot read property 'country' of undefined"
    any solution to this?

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      This is because country property is undefined you need to define it first

  • @zainakokeh5365
    @zainakokeh5365 ปีที่แล้ว

    thank u a lot, i love ur explain amazing !

  • @mayankarote4750
    @mayankarote4750 3 ปีที่แล้ว +1

    Thank You

  • @cesararroyotorres1051
    @cesararroyotorres1051 4 ปีที่แล้ว +1

    Thank you, great tutorial!
    Greetings from Peru

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      Most welcome 😊 from India 🙏

  • @ruchagurav7473
    @ruchagurav7473 3 ปีที่แล้ว +1

    Nice video.

  • @mohamedelkady5809
    @mohamedelkady5809 3 ปีที่แล้ว

    Hello Dear,
    I have a question
    how can we clear the input after write the name of the city dynamic after we fetch the data ? i couldn't do it

  • @danielkourt3146
    @danielkourt3146 3 ปีที่แล้ว +4

    You can get the temperature data from OpenWeatherMap directly in Celsius. Just put &units=metric in the API call.

  • @andr_hot
    @andr_hot 4 ปีที่แล้ว +2

    And if you need to make a weather forecast for 5 days, then what should you enter and where?

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว +2

      use api call for weather for 5 days. you can add date picker to pick a date for the next 5 days.

  • @saurabhhchavan
    @saurabhhchavan 3 ปีที่แล้ว +1

    Thank you so much✨🚀❤️

  • @jbm8280
    @jbm8280 4 ปีที่แล้ว +8

    is this tutorial good enough to be react developper, in other words if i master this kind of projects, could I get a job as react developper ?

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว +7

      No. It's not good enough to get a job but you will learn something new definitely 😊

  • @milanpoudel3737
    @milanpoudel3737 4 ปีที่แล้ว +1

    Why did we use {} to use that function?What if I invoke that function with minmaxTemp(24,19);? what is the difference? Should not using curly brackets and invoking that function produce the same result?

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      Do you plz show me the code so I can explain it. This is my old video so I need to first check out the code first. Hope you understand 😊

  • @diwakar7697
    @diwakar7697 3 ปีที่แล้ว

    I deployed the same on netlify but api is not giving output there although in local it is providing results. Please help

  • @anshugulati9165
    @anshugulati9165 3 ปีที่แล้ว +1

    sir i am given a project for weather forecasting but told it should be web based not app based, can u please suggest me what could i do

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว

      You have to create your own database and fetch data from it. You can get the data from api

  • @surajoberai
    @surajoberai 4 ปีที่แล้ว

    I think this way of styling is applied globally (for all components) , not scoped to particular component even if you don't import it. 39:57

  • @fawadali5068
    @fawadali5068 4 ปีที่แล้ว +1

    Great one thanks and keep it up....

  • @chrish3175
    @chrish3175 4 ปีที่แล้ว +1

    Great tutorial. Thank you for this!

  • @anupamshah1467
    @anupamshah1467 4 ปีที่แล้ว

    Hey,
    After last changes in getting city and country, I'm unable to get output. The api is taking a lot of time to fetch the data. I'm getting the following when inspecting the page:
    [HMR] Waiting for update signal from WDS...
    Help me with this!

  • @JackobGFX
    @JackobGFX 4 ปีที่แล้ว +1

    Is it possible to create multiple containers like this next to each other? I mean i click the weather for 5-6 countries and I have them next to each other

  • @thatwizkidgaming
    @thatwizkidgaming 3 ปีที่แล้ว +1

    Great tutorial learned a lot. Do you have a way to donate?

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว +1

      Yes. You can donate on my patrion page. Link is in the description

  • @Skyof66
    @Skyof66 4 ปีที่แล้ว +1

    Thank you for the tutorial, do you think it's possible to make it so when the user first visits the app they are shown the weather for their current location?

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว +2

      Yes. It's absolutely possible. But you need to get the location permission from the user first 😊

  • @harshitshukla1553
    @harshitshukla1553 4 ปีที่แล้ว +2

    sir i am not able to use this line
    no error shown but icon is not been displayed
    sir pls help me with this @Daily Tuition

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว +2

      You are using `` after {} . Use it before curly braces. Like this `${ your content}` 👍

  • @ahmedgh3268
    @ahmedgh3268 3 ปีที่แล้ว +1

    plz help i am getting this error when i am running the code ......
    Module not found: Can't resolve 'Weather_App/src/css/weather-icons.css' in 'C:\Users\user1\Desktop\hw\FINAL PRO\Weather_App\src'

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว

      The path of the module is wrong. You are missing that. Plz check the path again

  • @KushalRajkarnikar
    @KushalRajkarnikar 4 ปีที่แล้ว +1

    hello im getting an error 'Unhandled Rejection (TypeError): Cannot read property 'preventDefault' of undefined'. please tell me what i should do?

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      It is a function specify () parenthesis like this. preventDefault()

  • @serkanakman9945
    @serkanakman9945 4 ปีที่แล้ว +1

    Friend thank you for the tutorial. It is great. But I just noted the tutorial on my notepad for 3 hours. Now I am very tired. I can not start to coding. First need to rest :). Then I am afraid it will continue another 3 hours lol

  • @suyashagnihotri7779
    @suyashagnihotri7779 3 ปีที่แล้ว +2

    It was great :)
    It is working fine but for some cases It throws and error like
    Unhandled Rejection (TypeError): Cannot read property 'country' of undefined
    Can anyone help?

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว

      Plz check the spell of country variable. I think you miss spellied that

    • @dinabandhumaiti5863
      @dinabandhumaiti5863 3 ปีที่แล้ว +1

      That maybe an API_key problem

  • @SuperFUNNYKILLER
    @SuperFUNNYKILLER 4 ปีที่แล้ว +1

    YO WAZZUP MY DUDE !!
    your application is very lit and I am making great use of it. I have a question though. what should I write in order for the application to show the user's data based on his / her current location?

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      Get the permission first from the user to access location. In JavaScript there is the location class which helps you to get location of the users 😊

    • @SuperFUNNYKILLER
      @SuperFUNNYKILLER 4 ปีที่แล้ว

      @@DailyTuition I did get the permission, I struggling with displaying it in the same format as the JSX does

    • @SuperFUNNYKILLER
      @SuperFUNNYKILLER 4 ปีที่แล้ว +1

      Should I make a new JSX component for it?

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      @@SuperFUNNYKILLER yes you should.

  • @thebanane78
    @thebanane78 5 ปีที่แล้ว +1

    this is a really good video but if the user put a city name that doesn't exist there's an error, you could show us how to solve this error, except that, the tuto is excellent !

    • @DailyTuition
      @DailyTuition  5 ปีที่แล้ว +2

      Thank you so much 😊 I will take care of error handling also.

  • @HernandezHitTheRoad
    @HernandezHitTheRoad 3 ปีที่แล้ว +1

    Hello! Thank you so much for this tutorial. just a quick question. Im getting this error Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0. Do. you happen to know what it might be causing this?

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว

      You have angle bracket in json please check your spelling mistake. Or show me your code

    • @kailashbabu6614
      @kailashbabu6614 2 ปีที่แล้ว

      Same thing happening with me ...any solution??

  • @ahmetsametdemiralay6244
    @ahmetsametdemiralay6244 4 ปีที่แล้ว +1

    Thanks buddy, it was a very nice project !

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      Most welcome 😊 keep supporting 😊

  • @the_dark_soul_of_man
    @the_dark_soul_of_man 4 ปีที่แล้ว +1

    Hello, your video was very useful, I learned a lot, but could you help me? If I enter Dublin, Ireland, the app sends me Dublin, US instead of Dublin, IE. Any idea about why this is happening, and how I could solve this problem without hardcoding this specific instance with a switch case or something? It would take forever to write a switch case for every country in the world. Thanks in advance!

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      You need to first check do we have IE country in the API. Because it's a sample api. If the API have IE country then use filter technique to do that

  • @chucau4675
    @chucau4675 4 ปีที่แล้ว +1

    Why am I getting this error:
    Can't call setState on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a` state = {}; `class property with the desired state in the App component.

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      No that's not the problem. It's valid to to say state = {}

  • @emanosman2198
    @emanosman2198 4 ปีที่แล้ว +1

    have you used databace and api in this project?

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      Yes. I have used api but not used database

  • @akshataustin5483
    @akshataustin5483 3 ปีที่แล้ว +1

    sir how to deploy this application because when I deploy this they show error when I search any city temp and this API is not working

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว

      This API is only for development I think

  • @nehaljain682
    @nehaljain682 3 ปีที่แล้ว +1

    I am getting problem in settings background image and also weather icons are not displayed.
    please help me

  • @이동현-f6p9i
    @이동현-f6p9i 3 ปีที่แล้ว +1

    nice video! thank you ^o^

  • @nidhikumari6061
    @nidhikumari6061 3 ปีที่แล้ว +1

    Its shows unhandled rejection cannot read property 'country' of undefined why it shows??

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว

      You have no object in the variable. Means may be the property is missing or the object is undefined

  • @krishnamohanramachandran4968
    @krishnamohanramachandran4968 5 ปีที่แล้ว +1

    Sir can you convert it into hooks ?

  • @AMITKUMAR-fl4wo
    @AMITKUMAR-fl4wo 3 ปีที่แล้ว +1

    how can we use local icon instead of import from weathericons from github

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว

      You can download the local icon from the website categories it and use it according to the weather

  • @justadev____7232
    @justadev____7232 4 ปีที่แล้ว +1

    How Can you implement if the weather is from Day or night? Everytime I convert the unix time stamp for a certain location it always comes back for my time.

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      Use global static variable to store Unix time stamp

    • @justadev____7232
      @justadev____7232 4 ปีที่แล้ว

      @@DailyTuition yea I know how to do that. When I convert the unix time stamp its always showing my local time. Its showing my local time for any city I retrieve data from

  • @chandrikabiswal5092
    @chandrikabiswal5092 3 ปีที่แล้ว +1

    Is it Responsive ?

  • @kspv2806
    @kspv2806 4 ปีที่แล้ว +1

    thanks

  • @medonnaparker7294
    @medonnaparker7294 5 ปีที่แล้ว +5

    Sir i followed tutorial and got lots of
    knowledge. How can i convert when i click get weather and dispaly the temp and description into seperate page .

    • @DailyTuition
      @DailyTuition  5 ปีที่แล้ว +1

      Call an API on different page.

    • @medonnaparker7294
      @medonnaparker7294 5 ปีที่แล้ว

      @@DailyTuition sir i did that but didn't work. Will you please explain it how to call from different page?

  • @aayushvijayant6286
    @aayushvijayant6286 4 ปีที่แล้ว +1

    Sir, I am not able to use following lines:
    1.
    2. when I use ${city},${country} in the api call
    3. when I use appid=${API_key}
    it's giving the following error
    Unexpected template string expression no-template-curly-in-string
    Can you help me with the same?

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      The error is from template string (``) Check out template string again 👍

  • @Ace718215
    @Ace718215 3 ปีที่แล้ว +1

    The only issue is that the error does not dissappear if user enters correct city and country. Stays up there

  • @ujjwaljain9780
    @ujjwaljain9780 3 ปีที่แล้ว

    sir wht is the difference b/w .jsx vs .js both do same thing??

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว

      Yes. But .jsx is the react expension. If you wish to work on just a design of the componet you can use jsx. But you can still add functionality with jsx. And as we all know js is the javascript file

  • @saurabhsable4856
    @saurabhsable4856 4 ปีที่แล้ว +1

    I am getting this kind of error in console:
    index.js:1 Warning: Can't call setState on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the App component.

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      I think you did not mounted your component. Make sure you do that first and use this.state to define state

  • @naveenshanmukhappa4630
    @naveenshanmukhappa4630 4 ปีที่แล้ว +2

    If I try to add icons library using " npm I (GitHub url)" I am getting error saying, this is related to npm not being able to find a file.. pls help in this

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      Show me the command plz

    • @tanweerali327
      @tanweerali327 4 ปีที่แล้ว

      @@DailyTuition Hi, was there a solve for this as i had the same problem

    • @rihabmechlioui4840
      @rihabmechlioui4840 3 ปีที่แล้ว

      @@tanweerali327 same problem

  • @manishpaudel6515
    @manishpaudel6515 4 ปีที่แล้ว +1

    Everything is getting displayed except the description of the weather. Any solutions for that?

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      Check the property. I think you miss spellied something

  • @saurabhsable4856
    @saurabhsable4856 4 ปีที่แล้ว +2

    also the
    weatherIcon is not visible....please help!!@DailyTutuion

    • @rohantibrewal7465
      @rohantibrewal7465 3 ปีที่แล้ว +3

      In the render method of App.js, change one of the attributes in Weather tag from weather-icon to icon. In weather component jsx use {props.icon} rather than {props.weatherIcon}

    • @saurabhsable4856
      @saurabhsable4856 3 ปีที่แล้ว +1

      @@rohantibrewal7465 thank you😇

  • @damianodamian7907
    @damianodamian7907 3 ปีที่แล้ว +1

    I'm trying to follow the tutorial, why are you using "await" before fetch?

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว

      This is more secure style. It will asynchronously call the data

    • @damianodamian7907
      @damianodamian7907 3 ปีที่แล้ว +1

      @@DailyTuition Thank you for your answer :)

  • @levelupmusic3301
    @levelupmusic3301 4 ปีที่แล้ว +1

    What font you used in VS CODE? It's looking cool

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      I have a dedicated video on it. Check out the video section

    • @levelupmusic3301
      @levelupmusic3301 4 ปีที่แล้ว +1

      @@DailyTuition if you would have answered directly it would be helpful sir, else thanks ,
      I am ok with current font 🙏

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      It's Rubik. You can find it on Google font

  • @VikashSingh-cl8gm
    @VikashSingh-cl8gm 4 ปีที่แล้ว +1

    Hello Sir, I am not able to run npm install when I download your source code for the project and run it. Please help. It gives many errors. I am not able to resolve.

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      Make sure you have npm installed on your local system 😊

    • @anoopv3750
      @anoopv3750 3 ปีที่แล้ว

      Same error for me Vikash. You can clone the repo and use the css and fonts folder alone in your project. Put these folders under src of your Project. It works!!

  • @Hiddenflower
    @Hiddenflower 3 ปีที่แล้ว

    Hello! Thank you so much for uploading this video! I'm learning a lot from it. I have been following all the steps in the video, I'm currently in 17 minutes and 45 seconds in. I'm trying to display the data from OpenWeather in the Console, however I don't see the Object tag in the Console. What I see instead is "Console was cleared" with webpackHotDevCleint.js:91. I don't know how to stop the Console from clearing itself so I can see the Object tag with the information about the temperature. Do you know what I can do to see the information about the temperature? Thank you in advance for your help!

    • @Hiddenflower
      @Hiddenflower 3 ปีที่แล้ว +1

      Nevermind, I was able to fix this problem by commenting out some lines in the webpackHotDevClient.js, starting from line 91. I'm now able to see the city's temperature and location in the Console.

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว +1

      Learning from the mistake makes developer

    • @Hiddenflower
      @Hiddenflower 3 ปีที่แล้ว +1

      @@DailyTuition Thank you so much! I hope to be a developer one day. :)

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว +1

      You will

  • @riceyodayoda3249
    @riceyodayoda3249 3 ปีที่แล้ว

    when i copy the github link for the weather icons i get an error

  • @DeepakGupta-hj2dv
    @DeepakGupta-hj2dv 5 ปีที่แล้ว +1

    Thanku sir..so much love u

  • @vikrantpandey3522
    @vikrantpandey3522 5 ปีที่แล้ว +1

    Sir, I am not able to use following lines having concatenation with ${}:

    • @DailyTuition
      @DailyTuition  5 ปีที่แล้ว

      You specify (") at the end of the string instead (') make sure you have back tick on both side of the string 😊

  • @chaitanyadokara6654
    @chaitanyadokara6654 5 ปีที่แล้ว +3

    How can I add dropdown of all cities and countries from API?

    • @DailyTuition
      @DailyTuition  5 ปีที่แล้ว +1

      Use Google map API 😊

  • @wasibzaman3345
    @wasibzaman3345 5 ปีที่แล้ว +1

    Great tutorial sir

    • @DailyTuition
      @DailyTuition  5 ปีที่แล้ว +1

      Thank you 😊 keep supporting

    • @wasibzaman3345
      @wasibzaman3345 5 ปีที่แล้ว +1

      Daily Tuition yes i will.. bcoz you derserve

    • @DailyTuition
      @DailyTuition  5 ปีที่แล้ว

      @@wasibzaman3345 thank you 😊

  • @ShubhamSingh-rj4yt
    @ShubhamSingh-rj4yt 4 ปีที่แล้ว +2

    can anyone tell me why i am getting this message in my console " [HMR] Waiting for update signal from WDS... "?

  • @almirmuminovic8518
    @almirmuminovic8518 5 ปีที่แล้ว +1

    What if I use for e.g:
    City: Bla-Bla-Bla
    Country: Bla-Bla,
    After this I recive a error message, do I need to create const to attach that error and create a message: Enter valid City or Country?

    • @DailyTuition
      @DailyTuition  5 ปีที่แล้ว

      To check the valid country use zip code. Using it you can check user city is valid or not. If user enters invalid city create a message 😊

  • @DeepakGupta-hj2dv
    @DeepakGupta-hj2dv 5 ปีที่แล้ว +1

    Github pr hai available code ..source code download Kaise Kre..?

    • @DailyTuition
      @DailyTuition  5 ปีที่แล้ว +3

      Git tool download karo or command me ja kar type karo .
      Git clone link
      Link ki jagah mene specify Kiya hua link dalo bass 😊

  • @omar_mtl
    @omar_mtl 4 ปีที่แล้ว +1

    Hey man, thank you so much for this amazing video, I have a quick thing, so when I try to put the background image, it doesn't show in the application

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว +1

      Check the background path. 😊

  • @DhiaMagicien
    @DhiaMagicien 3 ปีที่แล้ว +1

    Amazing video thank you

  • @mpkumawat8417
    @mpkumawat8417 4 ปีที่แล้ว +1

    The app was returning proper values but after some time all the data shown became wrong, I deployed the site using netlify

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      Plz use different api to get weather data 👍

  • @LucasAlves-yf8pf
    @LucasAlves-yf8pf 4 ปีที่แล้ว +1

    checkpoint 45:27

  • @amanchib9859
    @amanchib9859 4 ปีที่แล้ว +1

    i am getting error component unused and apikey is not used

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      I think you to clear the component variable and you didn't use it. Check out the error line and the component variable

  • @DeepakGupta-hj2dv
    @DeepakGupta-hj2dv 5 ปีที่แล้ว +1

    Rest api pr tutorial le aayo..kya kaise use krte hai...koi idea nii hai...how rest api can build them..

    • @DailyTuition
      @DailyTuition  5 ปีที่แล้ว

      Is video ko dekho. Is video me mene rest API ke bare me bataya he.

    • @DailyTuition
      @DailyTuition  5 ปีที่แล้ว

      th-cam.com/video/JsXuhndOVrg/w-d-xo.html

    • @DeepakGupta-hj2dv
      @DeepakGupta-hj2dv 5 ปีที่แล้ว +1

      Rest api and restful ali and rest web Services ye sab same hai...?

    • @DailyTuition
      @DailyTuition  5 ปีที่แล้ว +1

      @@DeepakGupta-hj2dv yes. Ye sab same he

    • @DeepakGupta-hj2dv
      @DeepakGupta-hj2dv 5 ปีที่แล้ว

      @@DailyTuition okk thanks a lot

  • @floydlholt9829
    @floydlholt9829 5 ปีที่แล้ว

    I'm trying convert Celsius to Fahrenheit. Any pointers?🤔

    • @matthew_bub
      @matthew_bub 4 ปีที่แล้ว

      kelvin to fahrenheit : Math.floor(((temp - 273.15) * 1.8) + 32)

  • @lokeshgaming2659
    @lokeshgaming2659 4 ปีที่แล้ว +1

    weather icon project is not install in terminal it shows error

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      What is the error

    • @mithun907
      @mithun907 3 ปีที่แล้ว

      how can i fix the problem??

  • @rolazi3635
    @rolazi3635 5 ปีที่แล้ว +1

    Thank you very much, this video is very usefull but {"wi ${props.weatherIcon} display-1"} didn't work 🤔

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว +1

      What is the error?

    • @rolazi3635
      @rolazi3635 4 ปีที่แล้ว +1

      @@DailyTuition I found it, thank you very much

    • @rolazi3635
      @rolazi3635 4 ปีที่แล้ว +1

      @@ZVEKOfficial the probleme from the signe " , however you find the full code in the link github, and you can replace it

  • @bishrutigope7104
    @bishrutigope7104 4 ปีที่แล้ว

    Sir, I am getting an error like 'fatch' is not defined no-undef
    Please tell me how to solve this

    • @timdixon986
      @timdixon986 4 ปีที่แล้ว +2

      maybe you mean "fetch"?

    • @bishrutigope7104
      @bishrutigope7104 4 ปีที่แล้ว +1

      @@timdixon986 ya it was spelling mistake

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      Check out the fetch is there in the application or not. If not then plz add it first and then use it.

    • @lanrad09
      @lanrad09 4 ปีที่แล้ว

      @@DailyTuition great Tutorial. I got this error under inspection. Please can you help check what the issue could be:"0.chunk.js:30442 Warning: Can't call setState on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the App component.
      console. @ 0.chunk.js:30442
      printWarning @ 0.chunk.js:31351
      error @ 0.chunk.js:31323
      warnNoop @ 0.chunk.js:31378
      enqueueSetState @ 0.chunk.js:31448
      push../node_modules/react/cjs/react.development.js.Component.setState @ 0.chunk.js:31503
      App.getweather @ main.chunk.js:136
      async function (async)
      App.getweather @ main.chunk.js:129
      App @ main.chunk.js:146
      constructClassInstance @ 0.chunk.js:17066
      updateClassComponent @ 0.chunk.js:21204
      beginWork @ 0.chunk.js:22674
      beginWork$1 @ 0.chunk.js:27192
      performUnitOfWork @ 0.chunk.js:26180
      workLoopSync @ 0.chunk.js:26156
      performSyncWorkOnRoot @ 0.chunk.js:25774
      scheduleUpdateOnFiber @ 0.chunk.js:25206
      updateContainer @ 0.chunk.js:28355
      (anonymous) @ 0.chunk.js:28738
      unbatchedUpdates @ 0.chunk.js:25924
      legacyRenderSubtreeIntoContainer @ 0.chunk.js:28737
      render @ 0.chunk.js:28820
      ./src/index.js @ main.chunk.js:360
      __webpack_require__ @ bundle.js:785
      fn @ bundle.js:151
      1 @ main.chunk.js:494
      __webpack_require__ @ bundle.js:785
      checkDeferredModules @ bundle.js:46
      webpackJsonpCallback @ bundle.js:33
      (anonymous)"

  • @arnabmandal9839
    @arnabmandal9839 4 ปีที่แล้ว +1

    I dont know why i am getting a blank page after execution i think i am unable to fetch data from api can anyone help me??

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      Definitely. Is there any error?

    • @darkdave1185
      @darkdave1185 4 ปีที่แล้ว +1

      Unhandled Rejection (TypeError): Cannot read property 'value' of undefined@@DailyTuition

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      The value property is not initialise so plz initialise it and then use it

  • @jordanvinicius6243
    @jordanvinicius6243 4 ปีที่แล้ว +1

    my icons didnt get big with th display-1 I don't know why

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      Use display-2 or display-3 😊

  • @midhilkari4919
    @midhilkari4919 4 ปีที่แล้ว +1

    I am having this error of "no-cors" and "enexpected end of input" errors when I am trying to pull the data. Can anyone help!

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว +1

      Install and import core library

    • @midhilkari4919
      @midhilkari4919 4 ปีที่แล้ว +1

      @@DailyTuition Thanks for the reply. I anyway resolved the issue already!!

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      @@midhilkari4919 great 😊

  • @pandiarajkumarjadeja7136
    @pandiarajkumarjadeja7136 4 ปีที่แล้ว

    What language this source code?

  • @mayankkahar5940
    @mayankkahar5940 4 ปีที่แล้ว

    Warning: Can't call setState on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the App component.

  • @dinabandhumaiti5863
    @dinabandhumaiti5863 3 ปีที่แล้ว +1

    I am having problem at the weatherIcon part

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว +1

      Check the api key 🗝️ again and make sure you can fetch the data from the api and then move further

    • @dinabandhumaiti5863
      @dinabandhumaiti5863 3 ปีที่แล้ว +1

      @@DailyTuition thanks a lot man, i finally made the app. Love and Support from India

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว

      Thank you 😊

    • @DailyTuition
      @DailyTuition  3 ปีที่แล้ว +1

      I am also Indian

    • @dinabandhumaiti5863
      @dinabandhumaiti5863 3 ปีที่แล้ว +1

      @@DailyTuition ohh I thought u were foreigner 😂

  • @addesth4523
    @addesth4523 4 ปีที่แล้ว +1

    how can i do to add geolocation?

    • @DailyTuition
      @DailyTuition  4 ปีที่แล้ว

      To add geo location you need to add Google API in this project.

  • @vishakhabansal7395
    @vishakhabansal7395 2 ปีที่แล้ว +1

    Hi can you update this project

    • @DailyTuition
      @DailyTuition  2 ปีที่แล้ว

      I will make a new video on it

  • @vishnusingh4118
    @vishnusingh4118 4 ปีที่แล้ว

    19:37 update state