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.
I personally would disagree with using two different if statments. I know it works but in this case its either one value or another, the conditional statements are reacting to mutually exclusive events, so it makes more sense to use an if/else if statement.
where as the double ifs would make more sense for example if you where add funtionality that reacts to two seperate properties on an object or something like that.