https://fullstackopen.com/en/part1/a_more_complex_state_debugging_react_apps#exercises-1-6-1-14
Like most companies, Unicafe collects feedback from its customers. Your task is to implement a web application for collecting customer feedback. There are only three options for feedback: good, neutral, and bad.
The application must display the total number of collected feedback for each category.
Expand your application so that it shows more statistics about the gathered feedback: the total number of collected feedback, the average score (good: 1, neutral: 0, bad: -1) and the percentage of positive feedback.
Refactor your application so that displaying the statistics is extracted into its own Statistics component. The state of the application should remain in the App root component.
Change your application to display statistics only once feedback has been gathered.
refactor buttons and individual stats (already done)
Display the statistics in an HTML table