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.
It seems to me that if you "love" pizza you would return the largest pizza for a like price...
Instructions are: "If more than one size has the same price per square inch, then you should return the smallest size of that group."
Wouldn't you want the "largest size" of that group???
Take a look at this link from MDN... Math.sign().... https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sign
Negative zero IS a valid usage! and the kata description does not say don't return a negative zero!
I think this exhibits how to write really bad code!
Shouldn't have "-0" in the tests!
NO, don't quit and don't unpublish! Keep at it and you'll do just fine!!
Just do your best, ask questions when you need to, and don't feel intimidated...
We all have to start somewhere... :o)
Congrats on your first kata!
Just a few suggestions:
Round cost to two decimal places to represent the cents part(American money only?),
Insert commas above $999.99,
Require a dollar sign... like above...
No negative money... Are you paying the customer??
Hope to see more katas from you!!
If you don't know the language, then skipt it...
I thought is was cool to see spanish, so I gave it a go. I'm also trying to
learn spanish as well as programming.
Should have more tests with different names to return, like "Hola " + name + ", bienvenido!"
not sure why I didn't see that... Thank you!
I think it would be nice to be able to delete tagged katas from the list (by the notification bell icon), so that after I solve them they won't still be there taking up space...
I'm getting the following error:
I pass the first set of tests, but when submitting, I get the above error.
After hitting the submit button, it shows me passing all those tests also! Then returns the error...
I already sorted the array before returning the solution...
Any help getting past the submit stage would be appreciated...