How To Make Weather App Using JavaScript Step By Step Explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2024
  • Learn How To Make Weather App Using JavaScript Step By Step Explained | Create Weather App In HTML CSS and JavaScript
    #JavaScript #JavaScriptProjects
    👉 Download 30 JavaScript projects Source Code (Including Weather App):
    greatstack.dev...
    👉 My JavaScript Advanced Course: greatstack.dev... (75% Discount)
    ❤️ SUBSCRIBE: goo.gl/tTFmPb
    In this video we will learn to create a Weather App for Website using HTML CSS and JavaScript. We will get the current weather data from Fess API fey from OpenWeatherMap and display the weather information like Temperature, Weather condition, Humidity and Wind Speed according to the city on our website or app.
    We will display the weather info on website from Free API using JavaScript.
    In this weather app we will add one search box where user can enter the city name and get the weather information of the particular city.
    Download Images: greatstack.dev...
    -----------------------------------------
    Suggested Course:
    ❤️ Complete website Using HTML and CSS
    ✔️ 8 Complete website step by step
    ✔️ Source Code Download
    ✔️ 76 Lectures, 12 Hours Video
    ✔️ Course Completion certificate
    👉 easytutorialsp...
    -------------------------------------
    Recommended Videos:
    Learn Complete HTML and CSS from basics:
    ► • HTML And CSS Tutorial ...
    Make A Complete Website for college using HTML & CSS:
    ► • How To Make A College ...
    How to make a Business website step by step:
    ► • How To Make Website Us...
    How to make personal resume website step by step:
    ► • How To Make A Website ...
    How to make fitness website design using HTML CSS:
    ► • How To Make A Website ...
    How to make an Ecommerce Website Design:
    ► • How To Make eCommerce ...
    How to make a Job Portal website design with HTML & CSS:
    ► • How To Make Website Us...
    How to make travel website design with HTML CSS Bootstrap:
    ► • How To Make A Website ...
    -------------------------------------
    Affordable web hosting (coupon- EASYTUTORIALS)
    👉 easytutorialsp...
    My recommended tools and tutorials
    👉 easytutorialsp...
    -------------------------------------
    ◼️ Source code link is shared in community post for all my coding videos exclusively for channel members (only channel members can see)
    Join Channel Membership:
    ► / @greatstackdev
    -------------------------------------
    Images Credit:
    www.freepik.com/
    -------------------------------------
    Connect with me:
    👉 linktr.ee/iama...

ความคิดเห็น • 1.1K

  • @GreatStackDev
    @GreatStackDev  15 วันที่ผ่านมา

    👉 My JavaScript Advanced Course: greatstack.dev/go/javascript-course (75% Discount)

  • @maheshsale
    @maheshsale 11 หลายเดือนก่อน +76

    Just finished building this app. It was really an awesome experience for a beginner. Everything is explained step by step, systematically. Thank you for your efforts.

    • @Chandan-Singh10
      @Chandan-Singh10 11 หลายเดือนก่อน

      Any error

    • @nazamwasi3357
      @nazamwasi3357 11 หลายเดือนก่อน +3

      Bro i got error ,not getting details of city time stamp 22:32

    • @panktichaudhari
      @panktichaudhari 11 หลายเดือนก่อน

      Hey are you getting temperature in Celsius? Because I'm not getting it after applying units=metric

    • @behappy1666
      @behappy1666 9 หลายเดือนก่อน +5

      Bro weather images are not updating...

    • @RudraShejwal-jv2bf
      @RudraShejwal-jv2bf 8 หลายเดือนก่อน

      ​@@nazamwasi3357 same

  • @kevinvikan8115
    @kevinvikan8115 ปีที่แล้ว +288

    Great video, learning by practicing is so much better. Even if all you do is copying a few lines of code that you see in each lesson. It's much more effective than just taking notes.
    I know this because I tried everything and the only way I could learn (and retain what I learned) was when I started doing that.
    Once a friend suggested me a few books with interactive content, that made me practice what I learned at each chapter.
    Edit: For those asking about the books I mentioned, these are the best ones:
    "Javascript In Less than 50 Pages"
    "Head First Javascript Programming"
    If you are into learning Python, I love "Smarter Way to Learn Python".

    • @Qasimyousaf-zw5kw
      @Qasimyousaf-zw5kw ปีที่แล้ว +3

      best

    • @maheshwarimandigam5464
      @maheshwarimandigam5464 11 หลายเดือนก่อน +1

      "Could you please clarify where JavaScript is utilized in the project? Although it was mentioned that we would be building it with the help of JavaScript, it doesn't appear to have been incorporated

    • @AmanSingh-nf1kn
      @AmanSingh-nf1kn 11 หลายเดือนก่อน +5

      i was literally searching for this comment , now i'm confident that i can learn through projects rather than watching tutorials only

    • @littlecurrybread
      @littlecurrybread 11 หลายเดือนก่อน +2

      @@AmanSingh-nf1kn also try to add at least one feature or one thing that is just from you, thats helping me a lot. It tests my knowledge

    • @quinojuan2
      @quinojuan2 10 หลายเดือนก่อน +1

      somebody has this book ""Javascript In Less than 50 Pages"" in PDF?

  • @quinojuan2
    @quinojuan2 10 หลายเดือนก่อน +28

    "That's it... practice, practice, practice." Thanks a lot. I'm planning view all your videos.

    • @VaibhavgiriGoswami-wx8ql
      @VaibhavgiriGoswami-wx8ql 7 หลายเดือนก่อน

      You sloved addEventListener problem I not able to click and change city information

  • @NatarajNachimuthu
    @NatarajNachimuthu 23 วันที่ผ่านมา

    crisp and sharp to the point without any unwanted content. looking forward to complete every projects as mentioned for continuous 30 days .Thanking you for creating this wonderful playlist.

  • @lakshmiprasannanadendla5145
    @lakshmiprasannanadendla5145 ปีที่แล้ว +84

    Clear cut and straight forward to the content. Best yet easy lecture Thanks a lot 🤗🤗🤗

    • @LesK-n2s
      @LesK-n2s 6 หลายเดือนก่อน +1

      good video. Tech with Tim is also good.

  • @gomeztorricellygomez7808
    @gomeztorricellygomez7808 8 หลายเดือนก่อน +82

    I just finished this one and I'll finish all 30 projects....you are a good teacher,god bless you

    • @Shivi-e2d
      @Shivi-e2d 7 หลายเดือนก่อน

      Not able to fetch the temp of Himachal pardesh. Can you please help me

    • @itsmehwishhere
      @itsmehwishhere 7 หลายเดือนก่อน +3

      how much time it took to create the API?

    • @prathmeshkirve
      @prathmeshkirve 6 หลายเดือนก่อน

      usne city leha hai state nahi
      @@Shivi-e2d

    • @princeshukraan3099
      @princeshukraan3099 5 หลายเดือนก่อน

      Bro,please help me out

    • @SkyCarly
      @SkyCarly 4 หลายเดือนก่อน +4

      How long it took you to active the API ?? Can you please tell ?

  • @nandinii317
    @nandinii317 หลายเดือนก่อน +3

    it was an awesome experience building this app . Cleared a lot of concepts .

  • @UwasombaNnaemeka
    @UwasombaNnaemeka 9 หลายเดือนก่อน +19

    bro i have been watching your tutorials since you were easytutorials and i have learnt stuff like digital clock, calculator responsive login/signup page. Thank you for this

  • @chukwuemekandiukwu1220
    @chukwuemekandiukwu1220 5 หลายเดือนก่อน +4

    You are the best teacher ever in the world. You simplify things to the ground.

  • @RahamathAliShaik-w5p
    @RahamathAliShaik-w5p 6 หลายเดือนก่อน +9

    Just finished building this app. It was really good experience for a beginner. Everything is explained step by step, systematically. Thank you

    • @harishrajaramesh1694
      @harishrajaramesh1694 2 หลายเดือนก่อน

      DId the API key worked?? bcoz for me it shows invalid every time

    • @june756
      @june756 2 หลายเดือนก่อน

      @@harishrajaramesh1694 same

    • @ÀleezaBhatti-g7u
      @ÀleezaBhatti-g7u หลายเดือนก่อน

      @@harishrajaramesh1694 Same it's not activating what should i do

    • @debadritadey314
      @debadritadey314 หลายเดือนก่อน

      @@harishrajaramesh1694 same for me. did you solved the problem?

    • @AhanaSarkar-p7q
      @AhanaSarkar-p7q 12 วันที่ผ่านมา

      Can anyone tell me which api he used and it is paid or not? and there is any link from where i can get the codes

  • @Soulcode-k
    @Soulcode-k 26 วันที่ผ่านมา +11

    For people who are wondering The API Activates roughly around 3 hours, hope this helps

    • @bhuvaneswarip1032
      @bhuvaneswarip1032 12 วันที่ผ่านมา +1

      In between that time, did we log off our lap?

    • @Soulcode-k
      @Soulcode-k 12 วันที่ผ่านมา

      @@bhuvaneswarip1032 yup as long as u know ur password, or u just logged in in the browser u will be able to access it

    • @iam_sami74
      @iam_sami74 4 วันที่ผ่านมา

      I was using the same api the he used but wrong api message occured why ? Can u plz tell me where i get free api with key

    • @Soulcode-k
      @Soulcode-k 4 วันที่ผ่านมา

      @@iam_sami74 i need to see your code to understand and solve the problem.

  • @justcodeandsmile
    @justcodeandsmile 3 หลายเดือนก่อน +4

    Heyy man, thank you for this tutorial, I finished this project in approximately 4 hours of my time. I am currently specializing my skills in javascript, because I want to be a web developer someday and this project series of yours is one of the things that I am looking for. Thank you for your time and effort just to make this 30 projects and shared to your audience.🎉

    • @Sumairesthetics_
      @Sumairesthetics_ 29 วันที่ผ่านมา

      Hey can you please give me source code!?

  • @vivekpspk6326
    @vivekpspk6326 3 หลายเดือนก่อน +4

    Best Channel for hands on working with Javascript projects...Please do nodejs projects also...Thank you

    • @GreatStackDev
      @GreatStackDev  3 หลายเดือนก่อน

      Thanks for your comment Vivek. Have already done E-commerce and Food Delivery app using Nodejs. Please check it.

  • @mubarik24
    @mubarik24 26 วันที่ผ่านมา +1

    i just start learning JavaScript, i think so far your content is one of the best keeping up the good work and we love you so much

  • @kimayagupta8982
    @kimayagupta8982 หลายเดือนก่อน +3

    Amazing project for beginners, well explained.
    completed it within 2 hours.
    Thank you so much for this series.
    (PS: the API key was activated within 10 to 15 minutes)

    • @GreatStackDev
      @GreatStackDev  หลายเดือนก่อน +1

      Glad you liked it! Thank for the information on API.

    • @Sumairesthetics_
      @Sumairesthetics_ 29 วันที่ผ่านมา

      Hey please give me source code 😢

  • @babarshabbir2554
    @babarshabbir2554 4 หลายเดือนก่อน +2

    "Excellent tutorial! Clearly explained, easy to follow. Made creating a weather app with JavaScript a breeze."

    • @Kalicharan-tu6kr
      @Kalicharan-tu6kr 4 หลายเดือนก่อน

      30:42 I m having Event listener error why???

  • @isamsvideoediting4572
    @isamsvideoediting4572 ปีที่แล้ว +37

    Avinash, You are a real hero...... You make coding very easy for us to learn.

  • @AmanYadav-vi4hn
    @AmanYadav-vi4hn ปีที่แล้ว +9

    THIS WHOLE PLAYLIST IS A GIFT FOR FRESSHERS LIKE ME WHO WANTS TO LEARN SOMETHING NEW

    • @Chandan-Singh10
      @Chandan-Singh10 11 หลายเดือนก่อน

      Aman you build this weather aap

  • @sirnicholas6177
    @sirnicholas6177 6 หลายเดือนก่อน +4

    You are my best youtuber now. I developed my first web app with your tutorial

    • @louwe05
      @louwe05 2 หลายเดือนก่อน

      he uses old ways of coding, you should try learn modern ways (usign a local host plugin or even software + not in beginning from a project and write it completely identical same but try to use courses and then just from scrath on your own)

    • @Sumairesthetics_
      @Sumairesthetics_ 29 วันที่ผ่านมา

      Please give me source code

  • @adityarajsah414
    @adityarajsah414 หลายเดือนก่อน

    Just finished the application, get to know about api in detail, finished this project within 2 hours, take 20 minutes time to revise and i get to know that everything i am able to understand.
    Thank you for making this project.

    • @Sumairesthetics_
      @Sumairesthetics_ 29 วันที่ผ่านมา

      Please give me source code 😢

    • @adityarajsah414
      @adityarajsah414 29 วันที่ผ่านมา

      @@Sumairesthetics_ here in comment section you want or somewhere else?

    • @Bruiser03
      @Bruiser03 10 วันที่ผ่านมา

      @@adityarajsah414 can u give here only

    • @ibrahimcutomization7961
      @ibrahimcutomization7961 9 วันที่ผ่านมา

      meray se to search button ka layout shape hi round nhi bn rhi pta nhi kahan error aa raha

  • @babarshabbir2554
    @babarshabbir2554 4 หลายเดือนก่อน

    "Excellent, easy-to-follow tutorial on creating a weather app with JavaScript! Highly recommend."

  • @Daniel-fj9ux
    @Daniel-fj9ux 9 หลายเดือนก่อน +4

    This video was so useful to me for practicing as a beginner, by doing my own version of this project i could learn and improve a lot. Thank you sir!

    • @alimkdm1543
      @alimkdm1543 9 หลายเดือนก่อน +1

      if you have made it can you give me the source code

  • @mdnawaz8346
    @mdnawaz8346 หลายเดือนก่อน

    just completed wether app project .this waaaaay i say project based learning !!! thank u so mach 😍😍😍

  • @guy-was-taken
    @guy-was-taken 11 หลายเดือนก่อน +3

    Thanks a lot you actually started my web dev journey!!!

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

    সত্যিই খুবই চমৎকার একটি শিক্ষনীয় ভিডিও। বোঝানোর ক্ষমতা অসাধারণ-A very nice educational video indeed. The power of persuasion is extraordinary.

  • @hotclasher2278
    @hotclasher2278 4 หลายเดือนก่อน +4

    You are an awesome teacher, but when you said Germany is a city, it was too funny.

  • @arpitavishwakarma4449
    @arpitavishwakarma4449 2 หลายเดือนก่อน +2

    thank you so much for this project i have made it and it is perfect for my mini project

    • @GreatStackDev
      @GreatStackDev  2 หลายเดือนก่อน +1

      Glad to hear that. Thank you. 😊

  • @Krrishgames007
    @Krrishgames007 5 หลายเดือนก่อน +30

    00:02 Create a weather app using HTML, CSS, and JavaScript.
    02:40 Automated webpage refresh after code changes
    08:37 Creating weather app using JavaScript
    12:07 Styling the weather details with CSS for better visibility.
    18:13 Setting up API key and URL for weather app
    21:48 How to display weather information in the browser console using JavaScript
    27:41 Creating a weather app using JavaScript and fetching the city information from an API.
    30:39 Updating weather information and images based on city input.
    36:20 Adding error message for invalid city name input
    39:05 Handling invalid city names and displaying error messages

  • @Raj-ij6cw
    @Raj-ij6cw 7 หลายเดือนก่อน +11

    I have 1 query regarding API like How much time API taking for activation ?

    • @pankajmandal7204
      @pankajmandal7204 หลายเดือนก่อน +2

      bro please do tell me does it takes hours to activate
      because i am stuck in this now

    • @aartsprinkler
      @aartsprinkler 19 วันที่ผ่านมา

      How much it's take

    • @aartsprinkler
      @aartsprinkler 19 วันที่ผ่านมา

      ​​@@pankajmandal7204 how much time it's has taken

    • @riashik7426
      @riashik7426 16 วันที่ผ่านมา

      @@aartsprinkler In Vdo he said, it may take couple of hours🤔..............

  • @malwaredev33
    @malwaredev33 หลายเดือนก่อน

    Hey, it's an amazing tutorial for learning HTML, CSS, and JavaScript by making a small hands-on weather app. Thank you.

  • @harismalik4330
    @harismalik4330 2 หลายเดือนก่อน +2

    great project completed in 3 hours

    • @GreatStackDev
      @GreatStackDev  2 หลายเดือนก่อน +1

      Glad you completed it. Keep making more projects.

    • @sk.creations.
      @sk.creations. 2 หลายเดือนก่อน

      bro can you send me source code

    • @harismalik4330
      @harismalik4330 2 หลายเดือนก่อน

      @@sk.creations. provide your email ID

  • @muhammadarslan78676
    @muhammadarslan78676 3 หลายเดือนก่อน +2

    completed the app today, thanks for the great explanation

    • @GreatStackDev
      @GreatStackDev  3 หลายเดือนก่อน

      Glad to hear that. Thanks for your comment. 😊

    • @Sumairesthetics_
      @Sumairesthetics_ 29 วันที่ผ่านมา

      Please give me source code

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

    All the projects are life savior for beginners, thank you 3000❣️

    • @Nitishyadavlog
      @Nitishyadavlog 8 หลายเดือนก่อน

      Hello. Can u understand me to how can I acess sir's pdf in which all images are there

    • @Manas361
      @Manas361 7 หลายเดือนก่อน

      @@Nitishyadavlog There is a given link of google drive .. from where you can download images

  • @AubreyChilambwe
    @AubreyChilambwe 7 หลายเดือนก่อน +1

    Thank you very much. You explain so well and clearly. God bless you abundantly.

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

    Great tutorial, I'll do the other 29... But a suggestion following the syntax you were using.
    why use
    if (data.weather[0].main == 'Clouds') {
    weatherIcon.src = 'images/clouds.png'
    } else if (data.weather[0].main == 'Clear') {
    ...
    }
    instead of
    weatherIcon.src = `....images/${data.weather[0].main}.png`
    Remember to rename the first letter of each image you are going to use.

    • @ARYANSINGH-y3k
      @ARYANSINGH-y3k 11 หลายเดือนก่อน

      thank you for this suggestuion
      @@epicgameboi

    • @rudreshraj1298
      @rudreshraj1298 10 หลายเดือนก่อน

      dont worry it also works with lower case

    • @gopikrishna6808
      @gopikrishna6808 9 หลายเดือนก่อน +1

      That is why he used == not ===

  • @KardanKaaal
    @KardanKaaal หลายเดือนก่อน +1

    I also completed this project alongside you. Also I used weather api icons for dynamic changes. Loved this simple and informative project.

    • @GreatStackDev
      @GreatStackDev  หลายเดือนก่อน

      Glad to hear that. Did you also check out our To-Do list app in JavaScript?

    • @KardanKaaal
      @KardanKaaal หลายเดือนก่อน

      @@GreatStackDev Done it by myself. Is there any fully functional e-commerce website project ?🤞🏻

    • @debadritadey314
      @debadritadey314 หลายเดือนก่อน +1

      @@KardanKaaal my api is not working can you tell me what to do please

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

    A nice explanation and it looks like clear and very easy lecture for students a lot ..Really very thanks to you Avinash Sir.. I love the Way of Explanation

    • @maheshwarimandigam5464
      @maheshwarimandigam5464 11 หลายเดือนก่อน +1

      "Could you please clarify where JavaScript is utilized in the project? Although it was mentioned that we would be building it with the help of JavaScript, it doesn't appear to have been incorporated

  • @RoKy-y8o
    @RoKy-y8o 3 หลายเดือนก่อน

    MashaAllah
    Kamal ka samjhaya
    Best

  • @Wifg123
    @Wifg123 ปีที่แล้ว +11

    Hey in part 34:00 when yall are adding the weather images you can add them like this ->
    if (data.weather[0].main != null) {
    weatherIcon.src = "images/" + data.weather[0].main + ".png";
    }

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

    This was PERFECT , thank you for this it worked perfectly and it was easy to follow you up

    • @Zaynahazlanworld
      @Zaynahazlanworld 4 หลายเดือนก่อน

      how does image comes? by default or it should b save in our pc?

    • @Shanma09
      @Shanma09 3 หลายเดือนก่อน

      @@Zaynahazlanworld we should save those images provided in the description so that we can addd them.

  • @sathyathappetla4610
    @sathyathappetla4610 7 หลายเดือนก่อน +1

    U did it very beautifully, just one thing is that we need u explain the code purpose while writing any line of code so that the newbies also can understand very easily. That helps a lot. Thank u

  • @codeAlongwith
    @codeAlongwith ปีที่แล้ว +9

    Very good tutorial. I am wondering how we can set defaults so that it is the users current location and also how to add an error catcher for the async function?

  • @clydeforland5944
    @clydeforland5944 11 หลายเดือนก่อน +2

    Just finished this! Thank youu so much for great tutorials!

  • @gurvirsinghkhalsa614
    @gurvirsinghkhalsa614 ปีที่แล้ว +15

    This Tutorial was very amazing .... i have learned many new things from this weather tutorial app like how to use api keys, some interactive javascript functioning etc... IT LOOKS VERY AMAZING WHEN I HAD APPLIED *SHAKE ANIMATION* ON *INVALID CITY NAME* That i have learned from your last tutorial ... Thanks GREAT STACK & TEAM :) Keep It UP

    • @princeshukraan3099
      @princeshukraan3099 5 หลายเดือนก่อน

      Bro,please help me,I'm stuck

    • @gurvirsinghkhalsa614
      @gurvirsinghkhalsa614 5 หลายเดือนก่อน

      @@princeshukraan3099okey bro, How can i help you ?

    • @abcdabcd8605
      @abcdabcd8605 5 หลายเดือนก่อน

      @@princeshukraan3099 where are you stuck?

    • @saikumarr_
      @saikumarr_ 4 หลายเดือนก่อน

      @@abcdabcd8605 those images are not changing according to the weather data

    • @sandeepchintu830
      @sandeepchintu830 3 หลายเดือนก่อน

      @@abcdabcd8605 bro you can help me im stuck

  • @Khushipal88
    @Khushipal88 16 วันที่ผ่านมา +1

    Thanks for this video , this video is very useful for me thank you so much sir 😊

    • @GreatStackDev
      @GreatStackDev  15 วันที่ผ่านมา

      I'm so glad! Thank You. Keep coding.😊

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

    in place of if else if statements to select images we can also write ->
    document.querySelector(".weather-icon").setAttribute("src","images/"+data.weather[0].main+".png");

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

      Op bro You have really good command on DOM Manipulation. Thanks for good suggestion.

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

      what a legend! thank you for this command!

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

      Nice - There is an even easier way to do it by setting the src property directly:
      document.querySelector(".weather-icon").src = "images/"+data.weather[0].main+".png"

  • @Rytchie
    @Rytchie หลายเดือนก่อน

    Thanks man! I've been learning JS and this was very helpful. I'm going to push this project to my github.

    • @tayyabnawaz6389
      @tayyabnawaz6389 หลายเดือนก่อน

      after how much time Api key activates?

  • @yashsharma-td6ii
    @yashsharma-td6ii 5 หลายเดือนก่อน +3

    Can I close the tabs or the system while waiting for the API to get activated and then come back to the link again ??

  • @martijnkuik5685
    @martijnkuik5685 2 หลายเดือนก่อน

    You helped me a lot with this explanation/tutorial, Thank you 👍

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

    I really appreciate your lecture. This is my first app using JavaScript. I'm happy that I could make an actual app. I couldn't understand some lines, so I will search later and keep learning. Thank you for making this lecture!

  • @swayam_arora
    @swayam_arora 3 หลายเดือนก่อน

    ThankYou buddy. Was an intreseting video, learned very much.

  • @NateInTech_
    @NateInTech_ 4 หลายเดือนก่อน +1

    Great tutorial! App looks great. Seamless walkthrough my friend. Thank you!

    • @GreatStackDev
      @GreatStackDev  4 หลายเดือนก่อน

      Glad you liked it. Thank You. 😊

    • @Sumairesthetics_
      @Sumairesthetics_ 29 วันที่ผ่านมา

      Please give me source code

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

    I really appreciate your lecture ❤. This is my first app using JavaScript and it’s not working well for some reasons I don’t know 🤷‍♀️, it’s says in the console (uncaught TypeError: cannot read properties of null (reading’addEventListeneer’) 😢)

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

      Do js inside html not external ( Herald ko ho bhane reply )

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

      ​@@gaminghubnepal8500won't it work if I do it in an external js file?

    • @xqyba2645
      @xqyba2645 11 หลายเดือนก่อน

      @@gaminghubnepal8500 is there any way to make it work in external js

    • @jcorreaUdeA
      @jcorreaUdeA 10 หลายเดือนก่อน

      You can use external js file, just use the defer attribute on the script tag

  • @Soulcode-k
    @Soulcode-k หลายเดือนก่อน +1

    Seriously so much to learn, it was a great experience❤❤❤

    • @tayyabnawaz6389
      @tayyabnawaz6389 หลายเดือนก่อน +1

      after how much time Api key activates?

    • @Soulcode-k
      @Soulcode-k หลายเดือนก่อน

      @@tayyabnawaz6389 1 day 😂 that's how much i waited for.

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

    So simple yet very good and excellent explanation thank you!👍

    • @maheshwarimandigam5464
      @maheshwarimandigam5464 11 หลายเดือนก่อน

      "Could you please clarify where JavaScript is utilized in the project? Although it was mentioned that we would be building it with the help of JavaScript, it doesn't appear to have been incorporated

    • @rahulrajmehra7532
      @rahulrajmehra7532 11 หลายเดือนก่อน

      @@maheshwarimandigam5464 well it is simple beginners project where we are using javascript just to fetch API data and display that data using getelementbyId or querySelector

    • @rahulrajmehra7532
      @rahulrajmehra7532 11 หลายเดือนก่อน

      @@maheshwarimandigam5464 are you beginner ?

    • @06-bhaveshrathod40
      @06-bhaveshrathod40 11 หลายเดือนก่อน

      ​​@@maheshwarimandigam5464bro he did something that we don't no not in javascript but in css too

    • @june756
      @june756 2 หลายเดือนก่อน

      @@maheshwarimandigam5464 It's the code where he is using api and calling the function ,that's the javascript part.

  • @Ngongang-bp1nc
    @Ngongang-bp1nc 4 หลายเดือนก่อน +2

    good wow so well explain our future is bright

    • @GreatStackDev
      @GreatStackDev  4 หลายเดือนก่อน +1

      Glad to hear that. Thanks for your comment. 😊

  • @pandipatipavan3804
    @pandipatipavan3804 ปีที่แล้ว +13

    Please provide the code files and the links in the description as soon as possible. Thank You.

    • @chefernandez563
      @chefernandez563 11 หลายเดือนก่อน +1

      It's better to learn by typing everything yourself not just copy ans paste

  • @1BetterYOU
    @1BetterYOU หลายเดือนก่อน

    Thank you very much for the content you are delivering. I am sure it's helpful for me and i am learning a lot by actually doing it.

  • @NeverTooMuchLead
    @NeverTooMuchLead ปีที่แล้ว +21

    you dont need all those if statements to change the icon based on condition, you can try this instead:
    let weatherCondition = data.weather[0].main.toLowerCase();
    weatherIcon.src = `images/${weatherCondition}.png`;

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

    It's awesome... How we get your source code, sir?

  • @meenakshimeeen
    @meenakshimeeen 2 หลายเดือนก่อน +1

    simple and awesome tutorial.... thanks

    • @GreatStackDev
      @GreatStackDev  2 หลายเดือนก่อน

      Glad you liked it!

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

    been learning alot thanks to this videos.
    i was able to recreate this project...everything worked fine....except the weather icon its not changing..
    if(data.weather[0].main=="clouds"){
    weathericon.src="images/clouds.png";
    if you could give me some pointer it would really help me.

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

      I think it's "Clouds" not "clouds" in the condition

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

      I see I will try it later. Thanks 🙂

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

      I m getting same problem will u pls send ur code to me if possible

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

      I m getting same problem how does they will solve the issue
      any one can help in code ?

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

      Try using this for me it worked switch (data.weather[0].main) {
      case "Clouds":
      weatherIcon.src="images/clouds.png";
      break;
      case "Clear":
      weatherIcon.src="images/clear.png";
      break;
      case "Rain":
      weatherIcon.src="images/rain.png";
      break;
      case "Drizzle":
      weatherIcon.src="images/drizzle.png";
      break;
      case "Mist":
      weatherIcon.src="images/mist.png";
      break;
      default:
      console.log("No weather icon available.");
      }

  • @Auratic_12
    @Auratic_12 21 วันที่ผ่านมา

    thank you so much for this beautiful practice💌

  • @Noobgaminglk
    @Noobgaminglk 8 หลายเดือนก่อน +8

    For anyone getting 401 error in console replace the following code entirely with your current function
    async function checkWeather(){
    const response = await fetch(apiUrl + `&appid=${apiKey}`);
    var data = await response.json();
    console.log(data);
    }
    Ps: The problem with my code is that I used single quotes ( ' ) instead of backticks ( ` ). Hope this solved your problem.

    • @pushpkambo
      @pushpkambo 7 หลายเดือนก่อน

      Thank you, It corrected the errors I was getting.

    • @munchkin._.delights
      @munchkin._.delights 4 หลายเดือนก่อน

      im getting a fetch error its saying failed to fetch, i checked the URL its working great but I don't know its giving error on console

    • @harishrajaramesh1694
      @harishrajaramesh1694 2 หลายเดือนก่อน

      thanks for explaining bro

    • @june756
      @june756 2 หลายเดือนก่อน

      Thank you so much

  • @necrangedu1764
    @necrangedu1764 10 หลายเดือนก่อน +1

    hyper pedagogue je valide ca fonctionne ^^ bien joué

  • @PoojaKumari-cl1uh
    @PoojaKumari-cl1uh ปีที่แล้ว +78

    I'm unable to fetch api, it shows unauthorized(401)

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

      Same here I can't fetch in console log say unauthorized please help me and can't change places on card

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

      ​@@adsye0015check ur api key

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

      Take 15 min then fetch

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

      Maybe your account is expired so try to sign up with another account. Then it will work perfectly

    • @unknownalphaplusman
      @unknownalphaplusman 10 หลายเดือนก่อน

      Did you able to fetch api?

  • @StyloGenius
    @StyloGenius หลายเดือนก่อน

    You made coding very easy Sir!!!

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

    i have a cod:401 "invalid api key" error. But in members section my key is seems to active. What is the problem ?

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

      Hey you got the solution? If yess then plzz tell me

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

      @Kelvin Mvungi its showing me the same error in the console. previously on browser search it was fine for me.

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

      u there?@KelvinMvungi

    • @johncarter6505
      @johncarter6505 6 หลายเดือนก่อน

      I have solution

    • @johncarter6505
      @johncarter6505 6 หลายเดือนก่อน

      Add API key (&units=metric) just same as like

  • @lavanyasaibollamreddi9959
    @lavanyasaibollamreddi9959 4 หลายเดือนก่อน

    Thank you, Avinash! Your explanation thoroughly helped me understand the concepts covered here.

    • @khushaljain623
      @khushaljain623 3 หลายเดือนก่อน

      Did you complete the weather app ? Could you please tell me how much time it took to activate the API key ?

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

    Sir console me API ka data update nhi ho rha erors aa rhe h java script ki please help

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

      you should surround the variable with backticks (`) instead of single quotes (') for it to be interpreted as a template literal
      wrong-const response = await fetch( apiUrl + '&appid=${apiKey}' );
      right-const response = await fetch(`${apiUrl}&appid=${apiKey}`);

    • @hareshvishal7816
      @hareshvishal7816 2 หลายเดือนก่อน

      ​@@271_jatin_singh_6thanks a lot.. It worked 😊

  • @meenupatel1256
    @meenupatel1256 8 หลายเดือนก่อน +1

    Amazing Project with straight forward explanation.

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

    Broo why you hurt bruuuh xd what you do i know but i give source code of it with more functionality to many people

  • @amazingbdcreative9556
    @amazingbdcreative9556 11 หลายเดือนก่อน +1

    Thanks alot,, great great playlist. It’s helpful for beginner ❤

  • @princeshukraan3099
    @princeshukraan3099 5 หลายเดือนก่อน +20

    It's not displaying like yours😭

    • @man32681
      @man32681 4 หลายเดือนก่อน

      Bro, device ka bhe farak padta h . If you are using pixels

    • @mrsniffles7089
      @mrsniffles7089 4 หลายเดือนก่อน

      Did you work it out?

    • @Pawfessor1
      @Pawfessor1 2 หลายเดือนก่อน

      skill issue

    • @Subham_Singh_555
      @Subham_Singh_555 2 หลายเดือนก่อน

      Minimise the use of px, instead use % or vh,vw

  • @LesK-n2s
    @LesK-n2s 6 หลายเดือนก่อน

    Great job! Precise and to the point.

  • @abdellatifoutegnit-wl7ge
    @abdellatifoutegnit-wl7ge 4 หลายเดือนก่อน

    i learn a lot with you thanks may god bless you
    🤲

  • @maxlearningtech3423
    @maxlearningtech3423 10 หลายเดือนก่อน +1

    Awesome tutorial💯
    Just finished buidling the Weather App
    I learnerd how to use InnerHTML with Javascript and alot of cool concepts.
    Thank you very much sir.💥💫

    • @abhishekmishra3010
      @abhishekmishra3010 9 หลายเดือนก่อน +2

      @JGxJAMES i am also getting an error are you also getting error 401 ?

    • @Sumairesthetics_
      @Sumairesthetics_ 29 วันที่ผ่านมา

      Please give me source code 😢

  • @Adelina-r6s
    @Adelina-r6s 10 หลายเดือนก่อน +1

    Thank you for the video! For me, as a beginner, it is a great way to learn more and develop skills.

    • @ramanismaeel
      @ramanismaeel 9 หลายเดือนก่อน

      did you get the activation key

  • @Ani-fu8be
    @Ani-fu8be 3 หลายเดือนก่อน +1

    beautiful and very well explained, ty

    • @GreatStackDev
      @GreatStackDev  3 หลายเดือนก่อน

      Glad you enjoyed it!

  • @Creative_skill_kdn
    @Creative_skill_kdn 4 หลายเดือนก่อน +1

    Lots of thank you. My app is working now

    • @Astra4450
      @Astra4450 3 หลายเดือนก่อน

      Api will work?

    • @Creative_skill_kdn
      @Creative_skill_kdn 3 หลายเดือนก่อน

      @@Astra4450 yes if you have any error in your API. Just Copy whole HTML code ,Js Code, Css Code then paste it on Chatgpt. Chat gpt can detect the error and execute your code properly .Then you copy the code and paste in vs code …it will work properly

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

    Thanku very much sir you explain it very easily

  • @W_jrkk
    @W_jrkk 5 หลายเดือนก่อน

    Thanks a lot! You are wonderful. I followed the whole video and the outcome is the same as yours. I gained fundamental knowledge about the differences between HTML, CSS, and JS in practice not only in theory. Keep up the good work.

    • @bi.ke__editor
      @bi.ke__editor 5 หลายเดือนก่อน +1

      Your api key is working?

    • @W_jrkk
      @W_jrkk 5 หลายเดือนก่อน

      @@bi.ke__editorAbsolutely!

    • @Sumairesthetics_
      @Sumairesthetics_ 29 วันที่ผ่านมา

      Please give me source code

  • @MONISHMATHUR-d5k
    @MONISHMATHUR-d5k หลายเดือนก่อน

    great project to kickstart your webd journey

  • @LinhNguyen-nh8oq
    @LinhNguyen-nh8oq 10 หลายเดือนก่อน

    Thanks, great tutorial, I learn about fetch API after this one.

  • @Applecitylightkiwi
    @Applecitylightkiwi 11 หลายเดือนก่อน +1

    tried this without watching only checked the api, really like the result of the video, but its way more fun to try it first

  • @tthamil
    @tthamil 7 หลายเดือนก่อน

    I liked this weather app taught me in depth, thanks

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

    Thanks, finally something i can relate, understand and practice for my vue projects.

  • @uditgupta9163
    @uditgupta9163 6 หลายเดือนก่อน

    Thank you so much sir i have learn so much with you.....

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

    Thank you so much! You've earned a new subscriber!!!

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

      Thanks for the sub! Hope you will like this 30 JavaScript projects playlist: th-cam.com/play/PLjwm_8O3suyOgDS_Z8AWbbq3zpCmR-WE9.html

  • @shivaniverma4266
    @shivaniverma4266 3 หลายเดือนก่อน

    i am followingg yourr js serries great work man thanks

  • @nouarchami9007
    @nouarchami9007 9 หลายเดือนก่อน

    GOOOD VERY GOOOD NIIICE INTERRRESTING BRO THANKS THANKS THANKS A LOT....THANK YOUUUU.....

  • @fooddiarywithmuskan146
    @fooddiarywithmuskan146 หลายเดือนก่อน +1

    Great video please java, javascript, and python to gather work on one social media app how to work it. Thanks

    • @Sumairesthetics_
      @Sumairesthetics_ 29 วันที่ผ่านมา

      Can u please send me source code

  • @weekly_t_e_c_h6529
    @weekly_t_e_c_h6529 8 หลายเดือนก่อน

    wow to this content!!!!!!!!!!!!!!!!
    Expecting the MERN stack course with detailed expln.

  • @ajitrai9317
    @ajitrai9317 2 หลายเดือนก่อน

    straight forward explanation

  • @aditya_prakash_official07
    @aditya_prakash_official07 5 หลายเดือนก่อน +1

    I,ve just finish this project and i,ll definetly finish all the project which is present in playlist😍.

    • @AhanaSarkar-p7q
      @AhanaSarkar-p7q 12 วันที่ผ่านมา

      Can anyone tell me which api he used and it is paid or not? and there is any link from where i can get the codes

    • @ritikfunde8150
      @ritikfunde8150 7 วันที่ผ่านมา

      bro how manytime taking to generating an api reply me

  • @AmirAliJohari-e4y
    @AmirAliJohari-e4y 4 หลายเดือนก่อน

    Hey there!
    thanks so much it's been something unsual.

  • @sengendomark-xe6id
    @sengendomark-xe6id ปีที่แล้ว +1

    Your the best in this thing

  • @troiks
    @troiks 4 หลายเดือนก่อน

    I really like your chanel and your code along projects. Quick suggestion though, maybe talk about the logic you chose, why you did things a certain way as opposed to another, that would be of immense benefit to those of us who are learning

  • @Pgibeh5566
    @Pgibeh5566 11 หลายเดือนก่อน

    thanks alot after many trials i was able to download the images