Git Product home page Git Product logo

weather-report's Introduction

Weather Report

Code Exercise

Write an application using React/Redux that allows a user to search the current weather by city. The application should also allow a user to view previous searches. Pull current weather data from the Open Weather Map Current API (https://openweathermap.org/current). You will need to sign up to get an API key.

Step 1

Create a page that allows a user to type in a city and search for the current weather. The current weather will be displayed back to the user and should include:

  • current conditions
  • brief description of weather
  • city name
  • time of the search

Step 2

Display a list of the user's search history. The history should include the same displayed fields as above. You can display both the current search and history on the same page.

Extra credit

  • Add four passing tests ( 2 reducer tests, 1 action test, and 2 unit tests )
  • Add an alert when the city does not exist
  • Add some small UI features like disabling the submit button when the input is blank and clearing the input when the city is found
  • Add responsiveness

weather-report's People

Contributors

ejwill04 avatar mattadam avatar

Watchers

James Cloos 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.