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.
Do we have to build the chess board grid? or is it already part of the data for the Kata?
This comment is hidden because it contains spoiler information about the solution
I'm reading the Kata's description in English.
https://www.etymonline.com/word/-teen
There's the origin of the word "teen"
"Ten, Eleven, Twelve" does not end in "teen".
thirTEEN does...
This is common knowledge... correct?
This comment is hidden because it contains spoiler information about the solution
Beautiful wizardry
Thank you for responding.
If you'll notice my update on the same day as my post, I realized why my tests were passing. My output was being printed in the browser innerHTML which was auto deleting the whitespace. I didn't notice the difference between that and the console output.
Thanks again
Why is it wrong? I don't think it's a kata issue as much as an issue of how the codewars editor handles the code. BTW, some tests that fail here pass in repl.it.
Also all the tests I've done pass in VSCODE with live server, Also my code passes on w3schools editor, and at Code Playground.
I'd really like to learn from this, but I need to know the "why".
Thanks
::UPDATE:: You're right - it logs incorrectly in the other ones too.
But it prints to innerHTML correctly. That was my mistake and overlooking the fact that those two checks were different.
Still not sure why it needs the extra step.
Thanks a lot for your time
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Iterating over positions on the triangle can allow manipulation of the data in specific ways, not just adding up one whole row.