Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
The description still needs to be updated to reflect .toLowerCase() and .replace() having been disabled.
Sorry; you're quite right!
:)
Not true:
Fair enough. I did enjoy it.
Shame its retired :(
The description states "You need to write a function detect that will check if a string STARTS WITH Can someone explain" but the random tests for JS are expecting the function to return true if "Can someone explain" appears anywhere in the string; not just at the start.
Thanks for your feedback! I'm thinking 100 is a reasonable number as it's used to make sure the solution is correct on a collection of random tests. For some katas (where performance matters), we might face a thousand random test cases or more.
I think the 100 random tests was a little excesive :)
Otherwise I thought it was a good Kata!
Thought it was good :)
That's part of the things you need to fix. Not a kata issue.
This comment is hidden because it contains spoiler information about the solution
ChatGPT confirms my function (in JS) is correct but it won't pass the tests.
Any pointers? Not sure where I am going wrong (not sure that I am to be honest!)