I know that the code is ugly and the interface has not a pleasant aesthetics. In addition, I am aware that I did not solve the part involving the keyDown commands yet.
However, I cannot understand why most of the tests are failing.
1 - Why is the last test about the display failing?
As you can see in codepen, clicks will change the result being displayed which has a proper id HTML tag.
2 - Why are tests 3 and 4 failing?
Thank you for your attention