I am a total beginner and I spend a lot of time to figure out what works, I try to progress without hints. It is very very important to me.
Now, there is a quite easy (not for me, though) task, it costed me long hours to solve and it happens not to work on the platform of freecodecamp. However it works on jsfiddle fine.
Could you help me with what I am missing?
Thank you in advance.