Attach background colors from json information to individual boxes. In dataProcessor, create attachColorToMapSquares function that uses counter and loop through areasData to get color and div id. In main.js, call the attach color to map squares function, and pass in areasData from our ajax call.
Attach background colors from json information to individual boxes. In dataProcessor, create attachColorToMapSquares function that uses counter and loop through areasData to get color and div id. In main.js, call the attach color to map squares function, and pass in areasData from our ajax call.