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.
Some people say that it's a "hacky way" to use this statement. You can read about it here, for example - https://medium.com/trabe/using-switch-true-in-javascript-986e8ad8ae4f.
I initally tried to use a switch statement, couldn't get the syntax right, and reverted back to if / else statements. Can you help me understand what the "true" means in brackets next to switch? I've done a quick course on javascript which included switch statements, but I've realised I don't understand what goes in there!