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.
LOL errors are crazy one :D
neither math nor coding.
good practice is to debug input or w/e wildly => T I M E S A V E R
About substr(a, b) => it's very clear and cool stuff: a = from what position newString should be started, b = length of a newString. Go change arg and check it with your console.log how it works.
Hi, generally it's a good practice to put 'break' but in some scenario without it might be tricky: For example => when you put bad login, you need to log again and after 3 attempt you will be blocked or whatever and now betweem case 1 and case 3 you can put some info but no need to break it. Maybe it's not a top example but always xd.
If you did it in less then 5 min, well done then : useless xd.