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
For javascript, the "run test" option doesnt work (this needs to be fixed). Just test it as a final submition.. And this seems a bit too easy for a 5 kyu, but a good kata nonetheless.
Can someone please explain to me the logic behind the whole ternary conditional part of this solution???
Hey man, im a self-taught coder. It took me a while to figure out the solution for this one, I did it a completely different way. It would have been much easier if I had used the same sort of mathematical logic like you did. What does one read/should know to think like this.
Yea the last test isnt working for me too?? what exactly is it entering?
Yea, I realized that about an hour ago and fixed everything up. Thanks for the help though!
This comment is hidden because it contains spoiler information about the solution
Wrote the correct solution for javascript and everything is being returned exactly the same as the expected results... Still says I'm wrong???