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

Sdílet
Vložit
  • čas přidán 26. 08. 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

Komentáře • 106

  • @thegoose1324
    @thegoose1324 Před 2 měsíci +12

    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

  • @nimsarabasnayake3376
    @nimsarabasnayake3376 Před měsícem +3

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

  • @manavchitroda9414
    @manavchitroda9414 Před 5 měsíci +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.

  • @lawxg3710
    @lawxg3710 Před 5 měsíci +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 :)

  • @darianchetty1637
    @darianchetty1637 Před 6 měsíci +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 Před 3 měsíci +1

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

    • @JamesSmith-jh4co
      @JamesSmith-jh4co Před 2 měsíci +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 Před 2 měsíci

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

    • @JamesSmith-jh4co
      @JamesSmith-jh4co Před měsícem +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.

  • @aloSolo
    @aloSolo Před 3 měsíci +2

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

  • @rondinelliherrera3834
    @rondinelliherrera3834 Před 3 měsíci +7

    where you guys copy the URL?

    • @xarintasneem
      @xarintasneem Před 25 dny

      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

  • @devanshibaliyan829
    @devanshibaliyan829 Před měsícem +2

    thankyou so much , please make more videos like this

  • @a7mdbest15
    @a7mdbest15 Před 8 měsíci +5

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

    • @dev_ression
      @dev_ression  Před 8 měsíci +1

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

  • @snakefoxxofekans
    @snakefoxxofekans Před 8 měsíci +4

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

  • @aeneaswasgaming
    @aeneaswasgaming Před 4 měsíci +1

    It says error fetching forecast data

  • @nolandderlugner1351
    @nolandderlugner1351 Před 8 měsíci +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  Před 8 měsíci +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!

  • @m.o.o.n.c.a.k.e
    @m.o.o.n.c.a.k.e Před 5 měsíci +3

    I will do this project next week 🎉

  • @user-eo6gt4eu6i
    @user-eo6gt4eu6i Před 6 měsíci +2

    Hi does this have error handling

  • @simranswami7272
    @simranswami7272 Před 3 měsíci

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

  • @wilked1244
    @wilked1244 Před 6 měsíci +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  Před 6 měsíci +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 Před 3 měsíci

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

  • @loki_7994
    @loki_7994 Před 12 dny

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

  • @MoonChild-nm7rr
    @MoonChild-nm7rr Před 2 měsíci +1

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

  • @khushimittal4463
    @khushimittal4463 Před 4 měsíci

    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

  • @TapTap_196
    @TapTap_196 Před 8 měsíci +5

    Pretty clean edit 😎

    • @dev_ression
      @dev_ression  Před 8 měsíci +1

      Thank you bro! Much appreciated

  • @vedikawalke4680
    @vedikawalke4680 Před 4 měsíci +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 Před 4 měsíci

      Well it was written in JavaScript file in .innerhtml

  • @pavan-yl2gh
    @pavan-yl2gh Před 27 dny

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

  • @abhinavvarma46
    @abhinavvarma46 Před 2 měsíci

    What to do it the code not running at last

  • @yxsh10
    @yxsh10 Před 2 měsíci

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

  • @moonsun3658
    @moonsun3658 Před 5 měsíci +1

    excellent tutorial .thank you very much

  • @EugeneNechypurenko
    @EugeneNechypurenko Před 2 měsíci +1

    good tutorial, thx a lot

  • @yxsh10
    @yxsh10 Před 2 měsíci +1

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

  • @ppavlin8
    @ppavlin8 Před 3 měsíci

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

    • @Thetarget900
      @Thetarget900 Před 2 měsíci

      can plz guide me

    • @varshinim487
      @varshinim487 Před 2 měsíci

      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 Před 7 měsíci +1

    Great video and good explanation thanks:)

  • @hype_x6083
    @hype_x6083 Před 6 měsíci +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  Před 6 měsíci

      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 Před 3 měsíci

      Same problem bro. Did you get any solution?

    • @funyunsferret4289
      @funyunsferret4289 Před 3 měsíci

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

  • @siddharthkumar4655
    @siddharthkumar4655 Před 7 měsíci +2

    it shows local host refuse to connect

    • @dev_ression
      @dev_ression  Před 6 měsíci +2

      What does your page look like?

    • @Hadtomakeanother
      @Hadtomakeanother Před 6 měsíci +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 Před 6 měsíci +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.

  • @sajjadch4086
    @sajjadch4086 Před 4 měsíci +1

    I love this

  • @Lt21589
    @Lt21589 Před 6 měsíci +1

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

    • @dev_ression
      @dev_ression  Před 6 měsíci

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

  • @user-kc5yr9cy1t
    @user-kc5yr9cy1t Před měsícem

    how to insert weather api key part is not undersatandable.

  • @tthamil
    @tthamil Před 2 měsíci +1

    nice

  • @OlajideTolulope-t3f
    @OlajideTolulope-t3f Před měsícem

    What is the name of this app

  • @shakibataheri2470
    @shakibataheri2470 Před 3 měsíci

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

  • @iona3264
    @iona3264 Před 5 měsíci

    are there certain extensions u need? in vs code

  • @Wisegene
    @Wisegene Před 5 měsíci +1

    Works fine for me now😂

    • @varshinim487
      @varshinim487 Před 2 měsíci

      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

  • @josiahrowland2852
    @josiahrowland2852 Před 2 měsíci

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

  • @htmlnormaly
    @htmlnormaly Před měsícem +1

    Looking good but it doesn't work

    • @dev_ression
      @dev_ression  Před měsícem

      @@htmlnormaly you may be doing something wrong Temka

    • @dejadiggs8612
      @dejadiggs8612 Před 7 dny

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

  • @raydaywastaken6990
    @raydaywastaken6990 Před 5 měsíci

    it didint work when i searched for a city

  • @AnimePhenomX-9
    @AnimePhenomX-9 Před 4 měsíci

    It doesn't work

    • @jawadkhan1907
      @jawadkhan1907 Před 4 měsíci

      Why what happened tell me I'll help you

    • @shakibataheri2470
      @shakibataheri2470 Před 3 měsíci

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

    • @dejadiggs8612
      @dejadiggs8612 Před 7 dny

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

  • @areshaider8378
    @areshaider8378 Před 8 měsíci

    i keep getting errors

    • @dev_ression
      @dev_ression  Před 8 měsíci

      what are your errors?

    • @areshaider8378
      @areshaider8378 Před 8 měsíci

      @@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  Před 8 měsíci

      Have you tried generating a new key?

    • @areshaider8378
      @areshaider8378 Před 8 měsíci

      @@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  Před 8 měsíci +1

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

  • @User-083-3
    @User-083-3 Před 6 měsíci

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

  • @gaylejakubowski
    @gaylejakubowski Před 8 měsíci

    'Promo SM'

  • @SoloTheStaticHater2810
    @SoloTheStaticHater2810 Před 6 měsíci +1

    Anybody else getting errors?

    • @Wisegene
      @Wisegene Před 5 měsíci +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 Před 5 měsíci

      I fixed it

    • @akanchha2310
      @akanchha2310 Před 5 měsíci

      can you provide the code
      @@Wisegene

    • @jpalmer1056
      @jpalmer1056 Před 5 měsíci

      How?@@Wisegene

    • @_AI.Guy_
      @_AI.Guy_ Před 4 měsíci

      ​@@Wisegeneplease tell bro

  • @WebDevXpert
    @WebDevXpert Před 5 měsíci

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

  • @theboyunknown
    @theboyunknown Před 5 měsíci +1

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

    • @dev_ression
      @dev_ression  Před 5 měsíci +4

      no

    • @theboyunknown
      @theboyunknown Před 5 měsíci +1

      @@dev_ression you’ll take my advice eventually

    • @Tolulope_dev
      @Tolulope_dev Před 4 měsíci +2

      Speak for yourself only
      It's distracting for only you