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 has been deleted.
In javascript it's
makeNegative
, notmakeNegitive
Not sure which programming language that is. But it looks like you misunderstood the challenge.
The "Test" button runs the test-cases that you can edit yourself. You should make your own test-cases, as the initial test-case is very basic with just
makeNegative(42);
.If you read the Kata desctriction again, you might understand what the issue is. But what do you think your code would return if you run
makeNegative(-42);
? What should it return according to the Kata desctriction?Marked as resolved, as this is an issue with your code and not the kata itself. Please see the FAQ for details.
This comment is hidden because it contains spoiler information about the solution
Either your code causes that error or you changed the sample test and that caused that error, click reset and start over.
When compiling gives error "Unexpected } on line 9" when I don't even have a line 9.