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.
No worries! good luck / have fun
I misunderstood, sorry and thank you! I will change my mistakes for the future
Hi, you don't need a spoiler tag if the comment doesn't give any information away about how to solve the kata. That way, more people have a chance of seeing your comment and offering a reply.
The error message is informing you that your code returned
21
whereas it should have returned6
for that particular test. Given that it's JavaScript that your're using (in the future please mention the language) I would surmise that you are concatenating2
to1
by using the plus sign, which is to say they are characters, not integers. Otherwise that would=== 3
.Hi! I do not understand something
Test gave me next message:
'expected 21 to equal 6'
If I understood this task right, 2+1 = 3
Could someone help me, please?