Ad
  • Default User Avatar

    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.

  • Default User Avatar

    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!