Heat Map not passing test 9 & 10

Heat Map not passing test 9 & 10
0

#1

Hi all.

My code is not passing test 9 & 10 for some reason and I cannot figure it out. Any light on the problem would be appreciated.

Link to codepen: https://codepen.io/eday69/pen/dqVRNK

Many thanks !