Assessment wanted for “More colors” active learning exercise

I was doing the “Active learning: more colors” exercise on the Conditionals page and ran into a strange problem. I entered in the conditional code the instructions asked me to but my code didn’t work. I then looked at the solution and I didn’t see much of a difference between that and the code I put in. Can anyone tell me what’s wrong?

My code:
NOTE: When looking at my code, please ignore the Cannot read properties of null error if you see it.