CodeWars title case challenge


Hi there,
I’m pretty sure my code is correct but I keep getting this error every time I submit my answer.
Any suggestions? Much appreciated. :smile:

This code looks fine to me…could you share the error message you are getting?

I was too impatient for the error message and ran it myself on codewars:

No problems - maybe clear your browser history or something like that…sometimes that helps people pass FCC problems, and maybe Codewars has a similar glitch.

1 Like

Thanks for your suggestion. Took a while but I could finally submit my code after a while🙄