/JS-SuperDogEvents

Super Dog built with the JS mini site template.

Primary LanguageHTML

Image description

Super Dog Events A Coding Challenge

Demo

Given an array of objects of event data display the following:

Total attendance by City

Average Attendance by City

Least attended event by City

Most attended event by City

Also Show these stats for All Events

Extra Credit: Add the ability to add additional events. Store the events in local storage.

Given the following array of objects:

[{ event: "ComicCon", city: "New York", state: "New York", attendance: 240000, date: "06/01/2017", }, { event: "ComicCon", city: "New York", state: "New York", attendance: 250000, date: "06/01/2018", }, { event: "ComicCon", city: "New York", state: "New York", attendance: 257000, date: "06/01/2019", }, { event: "ComicCon", city: "San Diego", state: "California", attendance: 130000, date: "06/01/2017", }, { event: "ComicCon", city: "San Diego", state: "California", attendance: 140000, date: "06/01/2018", }, { event: "ComicCon", city: "San Diego", state: "California", attendance: 150000, date: "06/01/2019", }, { event: "HeroesCon", city: "Charlotte", state: "North Carolina", attendance: 40000, date: "06/01/2017", }, { event: "HeroesCon", city: "Charlotte", state: "North Carolina", attendance: 45000, date: "06/01/2018", }, { event: "HeroesCon", city: "Charlotte", state: "North Carolina", attendance: 50000, date: "06/01/2019", }, ];