Thanks for making the effort to help someone else today on the forum.
Please do refrain though from sharing solutions of fCC challenges as they do not contribute to the learning environment we are hoping for.
I have modified your post to remove the solution code.