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.
When attempting to return the correct value for house Targaryen (a.k.a. "Fire and Blood"), the error message "The motto for House Targaryen is incorrect." is given.
More test cases may be useful.
Perhaps use randomly generated content for the test cases.
Perhaps add a
null
to the list of test subjects? That would compliment theundefined
nicely.This comment is hidden because it contains spoiler information about the solution
I thought this might have been the case. I am unfortunately unaware of the way in which kata properties get set, I had assumed that all kata automatically start out as
Draft
, from your description ofDraft
as a 'stage'.Thank you for this clarification!
How come the kata has been completed 4 times already? My 'completion' does not contribute to this count.
The submit final button just doesn't work. It doesn't appear, and when enabled in DOM, it is as equally useless. This is possibly a bug with Codewars, but then again I haven't had this problem before.