GithubHelp home page GithubHelp logo

weatherdashboard's Introduction

weatherDashboard

This weather dashboard takes data from the openweather API and allows you to check the current weather and a 5-day forecast of any city you want. Here is a link to the live server: https://mgonza63.github.io/weatherDashboard/ GitHub-repo

GitHub Logo

  • I managed to get the three data collections to work, but for some reason the uv index would stop working and crash the website
    • I commented it out, so you don't experience any problems.
          var lon = response.coord.lon;
          var lat = response.coord.lat;
          var uvKey = "d68917803103c196cc3a57791401fdc9";

          var uvURL = "https://api.openweathermap.org/data/2.5/uvi?appid=" + uvKey + "&lat=" + lat + "&lon=" + lon;
          
          $.ajax({
             url: uvURL,
             method: "GET"
           }).then(function(data) {

             $("#uv").text("UV Index: " + data.value);
  • Another problem that I encountered is that the icon for the weather shows on my project, but not on the live server
  • I also could not get the localStorage to work, I need some practice with that.

Overall, I am really proud of this project, I thought I did a good job and, I learned a lot from it. It was fun to play around with the API, and I can't imagine all the things that can be done with them!

weatherdashboard's People

Contributors

mgonza63 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.