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.
This comment is hidden because it contains spoiler information about the solution
I'm hanging my head in such utter shame right now. Thanks for the help.
This comment is hidden because it contains spoiler information about the solution
Remember that the number scale is 0-10, while the moon scale is 0-5. This means a value of 1.5 equals 0.75 moons. Which should round up to 1 and produce a single "o", which gives a final string of "oxxxx".
This was a lot of fun
That's what I would like to know! I can share my code - which is just an if statement counting the occurences of each character. Like I said, my code works everywhere but here.
In javascript I keep getting "TypeError: Cannot read property 'length' of null" for a single test. I do use the string length property. I have tried handling a null string every way I can find. My code works in codepen and repl so I don't know why it generates this error here. Any suggestions?