Have a look at this thread.
https://forum.freecodecamp.org/t/please-i-dont-understand-why-my-code-is-not-passing-test-6