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.
It may be helpful to mark the start and end of you regex. You also shouldn't use the 'thing' to check for actual characters.
This comment is hidden because it contains spoiler information about the solution
Good challenge - first time I felt the need to really write my own functions... Can I ask though - how does the node versioning work? Why is it not set to the latest version / latest stable version? 👏💻😲😎🥇 I wasn't able to use Array.flat(), and when I checked it's because of the node version (I think).
Thanks for your help but unfortunately I'm still stuck... The log just says expected True but got False. I will have to spend some time away from it and do some other katas, and see if a fresh mind will help. Thanks again.
That's not the test your code fails. Check how you set
pos
value and the test your code is failing, it'll become evident how to fix it.Please, when asking for help, be as descriptive as you can, nobody can help you with only that.
You can see with the log where the problem is, you should look for the next letter in the name once you've found one and so on. Remember you code should work case-insensitively too.
This comment is hidden because it contains spoiler information about the solution
I'm glad you enjoyed it.
Thanks! I did it first time but all the tests failed...!
Was sure I'd managed it, so I checked the tests and could see that I'd just done it the wrong way around, and had first capitilised the odds instead of the evens... A quick fix. Enjoyed it, thanks again!