Your code
Set both colours.
Console
Results
0%
Press Run to check your code
Your code has an error
Set both colours.
Why not 100%?
Penalties: none this run
A question about keyIsPressed has an else side like any other, so the picture can say one thing while a key is down and another while it is up. Nothing has to happen for the colour to change back.
Set both colours.
Set both colours.
Set both colours.