Skip to content

Instantly share code, notes, and snippets.

@incorvia
Last active July 27, 2018 21:13
Show Gist options
  • Save incorvia/d5555541785e1cd5dfb238dd0c4cca68 to your computer and use it in GitHub Desktop.
Save incorvia/d5555541785e1cd5dfb238dd0c4cca68 to your computer and use it in GitHub Desktop.

The Challenge

You’ve been asked by the city of Boston to create a React app to help its residents determine the quality of the air, using a free API found here:

https://docs.openaq.org

You will design a simple app that presents a drop down allowing a user to select from various Air Quality measurements:

  • pm25
  • pm10
  • so2
  • no2
  • o3
  • co
  • bc

When the user selects a metric the user should be presented with the average value for that metric over the last 30 days with the appropriate units for displaying it.

Please use React for displaying information. Please don't use any javascript libraries but you can use a CSS library if you'd like to style your application.

Fork this web page to start: https://codepen.io/bradleyboy/pen/OPBpGw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment