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.
That's a great site! Thanks for the link, never heard of it before.
The problem is not in the complexity of the kata, but in the stupid description. Nothing is said about the fact that there can be more petals than sayings.
to ensure case insensitivity
shut up mark
This comment is hidden because it contains spoiler information about the solution
Try that in regex101.com And there is no need to ask the same three times.
What do the brackets [ ] do?
It ensures case-insensitivity:
"Alligator" != "alligator"
Forcing the animal to lower case means it will always match properly.
Reading the description and the sample tests.
How do I start to figure out how to do this problem?
Because of that.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I'm not a JavaScript expert, but this kata is asking you to use some basic features of the language to manipulate strings of characters.
If you need help, a good place to start would be searching for "working with JavaScript strings" or something like that - for example this site is a top search result:
W3Schools JavaScript strings
then this section:
W3Schools JavaScript string methods
Loading more items...