Key Counts, get input value/array and sum them up
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Key Counter

Public Page go to to see it live

Standard Front End UI interview test

Key Counts Create an html page with a text-area and a button to sum up key counts in the text area. Each line of the text area is expected to contain data in the format of "key, count" where the count is parse-able into an integer. The text area should have the following default value: "John,2 Jane,3 John,4 Jane,5" When the button is pressed the results of the summation should be displayed. The default value should result in the output: "The total for John is 6. The total for Jane is 8."