Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 565 Bytes

05-STATS-WIDGET.md

File metadata and controls

27 lines (15 loc) · 565 Bytes

Stats Widget

Implement a React Stats Widget app that groups and counts restaurants per price range.

npm i

npm run start:dev

npm run webpack -- --watch // iTerm, new tab

URL

http://localhost:3000

Tasks

  • Fix Uncaught Error: Target container is not a DOM element.

  • Use the /api/v1/restaurants endpoint to fetch data from the server (N.B. the price property is the price range for the restaurant; values: 1-4)

  • Do some CSS stuff!

Examples

Stats Widget