Build a Simple Weather App with HTML CSS and JavaScript | Beginner Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024
  • Build a Simple Weather App with HTML CSS and JavaScript | Beginner Tutorial
    Hey coding enthusiasts! 🚀 Join me in this exciting tutorial as we build a Simple Weather App using HTML, CSS, and JavaScript! Whether you're a beginner or looking to enhance your coding skills, this step-by-step guide has got you covered.
    👩‍💻 Together, we'll delve into the basics of web development, crafting a sleek Weather App that pulls real-time data thanks to the OpenWeather API. No need for prior coding knowledge - I'll break it down for you!
    🛠️ We'll cover:
    - Setting up the HTML structure for your Weather App
    - Styling with CSS to give it a polished look
    - Adding dynamic functionality using JavaScript
    - Integrating the OpenWeather API for live weather updates
    By the end of our coding session, you'll have a fully functional Weather App and a solid foundation in HTML, CSS, and JavaScript. Perfect for kickstarting your coding journey or advancing your skills!
    Source code: github.com/dev...
    Tags:
    weather app html css javascript,devression,weather app tutorial javascript,html css js weather app,weather app design,javascript project,html css javascript project,beginner javascript tutorial,html css tutorial,how to build a weather app,javascript project tutorial,weather app api,beginner web dev project,javascript beginner project,asmr programming,build a simple weather app with javascript,html css project,javascript project weather,javascript full course

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

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

    To those who have an error - try plugging into chat gpt and ask “what’s wrong with this code” explain your error a bit and you’ll get a detailed explanation plus a corrected version of your code

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

    it was really good tutorial editing really helped actually its way easier to write and understand code by just showing parts of it instead of showing hole coding part :)

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

    Thanks dude this is really helpful, and the styling is so clean i may use some of yours😉

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

      Thank you very much bro, I’m glad it helped!

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

    Amazing vid, thx a lot!. A indepth explanation of js would be lovely!

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

      Thank you! Will do :)

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

    thankyou so much , please make more videos like this

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

    Great video. My only gripe is that the image for the weather won't show up above the temperature. I keep getting an error that says the showImage() is not defined in the displayWeather(data) function and even if I delete it, the image still doesn't show up.

  • @darianchetty1637
    @darianchetty1637 6 หลายเดือนก่อน +12

    Hey for some reason I'm getting an error and I swear I followed the vid step by step and I can't seem to figure out why

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

      This always happens to me when I follow coding tutorials, it's really frustrating.😭

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

      @@HannahCoziCorner for me, it's usually because the tutorial is using a different OS or because they are using an older version of something.

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

      @@JamesSmith-jh4co can you recommend some coding tutorials that worked for you?

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

      @@HannahCoziCorner I've honestly only done a few. but like in my original comment, as a beginner i would get hung up on command line stuff. i just mean when someone is creating a tutorial and they're using mac, there are going to be differences for doing the same things on windows.

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

    where you guys copy the URL?

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

      Well, in my case i have found it in my confirmation email of open weather account login . I mean after doing sing up at that api website . they will send you a confirmation email. I have found that URL there

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

    its really hard when you only show pieces of the code, specially when it starts to add up in javascript.

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

    Pretty clean edit 😎

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

      Thank you bro! Much appreciated

  • @m.o.o.n.c.a.k.e
    @m.o.o.n.c.a.k.e 5 หลายเดือนก่อน +3

    I will do this project next week 🎉

  • @MoonChild-nm7rr
    @MoonChild-nm7rr 2 หลายเดือนก่อน +2

    Only the HTML CSS part is working if I click on Search it's not moving to next page. What to do?

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

      same

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

    thanks for the video, but it would make it a hundred times better, if you would do a step "like creating the button design in css" and then actually show what you did

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

      Good idea, I’ll do that for the next video! I’ll split the screen so you can see both the code and the result!

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

    I got this error, "Error fetching current weather data. Please try again"... why????😢

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

    how was your beggining with jS? i am actually learning it for about 3 weeks, just started doing some little projects but i need examples like tutorials, can't build something without help, is it normal?

    • @dev_ression
      @dev_ression  7 หลายเดือนก่อน +5

      This is completely normal! I was the same. The best thing that I found was following a tutorial first, then after I would do it again by myself. I would also change it a little so it wasn’t the exact same project. The best way to learn is by doing!

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

      I learned JS in highschool last year and I'm in the same position😅

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

    excellent tutorial .thank you very much

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

      Happy to help!

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

    it worked for me! thank you for this awesome tutorial!

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

      can plz guide me

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

      After applying the api key the js is not working only html and css is working aft given the city name and search button it is not working what will be prblm

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

    Great video and good explanation thanks:)

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

      Thanks for watching!

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

    Suggestion: Start a html and css tutorial. I'm pretty sure it will help you gain subscribers and help people.
    Hope this helps!

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

    I have some question how you had written .hourly-items in style.css file when though no such class is mentioned in html file

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

      Well it was written in JavaScript file in .innerhtml

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

    It says error fetching forecast data

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

    You sounded like a classic Aussie Weather Reporter (no hate!)

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

      I appreciate that hahaha

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

    I love this

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

    good tutorial, thx a lot

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

      Thanks for watching man

  • @Kimseungmin-e5j
    @Kimseungmin-e5j 7 หลายเดือนก่อน +2

    Hi does this have error handling

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

    Great video! But how could I add the wind speed into here

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

      Thank you! You’ll need to make a request to the API endpoint and parse the response to extract the wind speed data.

  • @yuvrajchavan8234
    @yuvrajchavan8234 6 วันที่ผ่านมา

    Sir one error ( fetching error hporly forecast data .please try again😢 sir tell me what will change )

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

    I am getting could not fetch current weather detaidl and hourly weather details constantly...i have user your code word by word still. Please help

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

    I have write the whole code but the weather is not showing .what should I do?

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

    great tutorial dude but my site did not apply any javaa script codes and functions its just the same as when i looked at it when we finished css.

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

      1. Make sure you have linked your JavaScript correctly in your html file.
      2. Open your web browser and check the console for errors. This will help you with debugging your code! 😃

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

      Same problem bro. Did you get any solution?

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

      @@dev_ression Hi even I got have the same problem, idk what to do

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

    Can any one say how to replace the current weather url and forecast url in the js

  • @pavan-yl2gh
    @pavan-yl2gh หลายเดือนก่อน

    Hello can anyone explain is this app shows complete today's weather??

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

    nice

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

      Thanks bro!

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

    it shows local host refuse to connect

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

      What does your page look like?

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

      ​@@dev_ressionsame issue, it doesnt load the page. it seems it has something to do with style.css. I was using your script as more of a test and i have an issue with visual studio where my code will not load no matter what search engine i use, chrome, edge and firefox
      Could not read source map for chrome-error://chromewebdata/: Unexpected 503 response from chrome-error://chromewebdata/neterror.rollup.js.map: Unsupported protocol "chrome-error:"

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

      Idk if you saw my previous comment or not, but do not run your script locally. Run it through the actual website. For some reason (this has been going on for a while) you are not able to run your code locally through visual studio. In the folder you will see "index.html" just run that and you will see your website.

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

    What to do it the code not running at last

  • @user-kc5yr9cy1t
    @user-kc5yr9cy1t 2 หลายเดือนก่อน

    how to insert weather api key part is not undersatandable.

  • @IrinMathew-y4p
    @IrinMathew-y4p 16 วันที่ผ่านมา

    The program is not working

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

    are there certain extensions u need? in vs code

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

      For this project only liveserver

  • @OlajideTolulope-t3f
    @OlajideTolulope-t3f 2 หลายเดือนก่อน

    What is the name of this app

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

    Works fine for me now😂

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

      After applying the api key the js is not working only html and css is working aft given the city name and search button it is not working what will be prblm

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

    My js file doesn't work what am I supposed to do

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

      Have u got solution for it

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

    bro could've shown his full JavaScript file after everything was added

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

    Looking good but it doesn't work

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

      @@htmlnormaly you may be doing something wrong Temka

    • @dejadiggs8612
      @dejadiggs8612 27 วันที่ผ่านมา

      @@dev_ression My submit button doesn't work. What did I do wrong?

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

    it didint work when i searched for a city

  • @User-083-3
    @User-083-3 7 หลายเดือนก่อน

    cannot read properties of undefined (reading 'slice')
    this is showing error

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

    Anybody else getting errors?

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

      Same bro i followed the tutorial to the bone and i am still missing something and getting errors. i don't know if he didn't show something but i cant figure out the problem with the styles.css

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

      I fixed it

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

      can you provide the code
      @@Wisegene

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

      How?@@Wisegene

    • @_AI.Guy_
      @_AI.Guy_ 4 หลายเดือนก่อน

      ​@@Wisegeneplease tell bro

  • @AnimePhenomX-9
    @AnimePhenomX-9 5 หลายเดือนก่อน

    It doesn't work

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

      Why what happened tell me I'll help you

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

      ​@jawadkhan1907 in the js file the first line of url which is const currentWeatherUrl gives an error

    • @dejadiggs8612
      @dejadiggs8612 27 วันที่ผ่านมา

      @@jawadkhan1907 hello! my submit button doesn't work
      What did I do wrong?

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

    'Promo SM'

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

    i keep getting errors

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

      what are your errors?

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

      @@dev_ression keeps saying api key invalid when i try to open yhe link and get the error message data not found i triple check the api key

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

      Have you tried generating a new key?

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

      @@dev_ression yes and i use it but keep getting the same error, is there a way to test if the api works?

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

      @@areshaider8378 I would suggest watching Andy’s Tech Tutorials video on how to use the openweather API for beginners :)

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

    Whiever wants to create weather app from this tuto i recommend u to not follow this coz it is totally waste of time u will not understand anything from it

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

    How To Create Weather App in HTML CSS and JavaScript || BY Pro inTech - No Talking : th-cam.com/video/mYd9Y2RmtU0/w-d-xo.html

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

    Stop using background music throughout the video, it's distracting

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

      no

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

      @@dev_ression you’ll take my advice eventually

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

      Speak for yourself only
      It's distracting for only you