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.
You'll have to know fundamentals to debug something, that's inherent. Since the kata is framed as solving an issue with existing code, and you are given how it should work vs. how it currently works, i'd say this is pretty solidly a Debugging kata.
I lean towards disagreement only because I'm new to JavaScript and had to learn a fundamental aspect of javascript in order to complete it.
Maybe if you had the opness set correctly then the bugfixing element would be removed? Or if you simply told the story differently: say specificaly that it's only running the random generation once, and needs to regenerate the random number everytime.
You are right. Its a shame I cant have both.
Consider it done though!
My suggestion is to change the category from "fundamentals" to "bugfixing" for this kata. While it does touch on fundamentals, i think this belongs more in the "bugfixing" category.
Thank you!
And thanks to you guys, I feel I've given something back to the community. Which is great!
I hope some day I will solve one Kata you made! ;)
Keep up learning! Kudos!
Excellent! As a newbie to JS, I found that challenging and educating! At first I felt like you were really giving away the solution by asking us to make it a function... until I realized I didn't know how :). SOLVED, AND LEARNED.
Thank you!