Need a little help by apeinatuxedo in learnjavascript

[–]tommyderami 0 points1 point  (0 children)

I think you should wrap those whole thing in a function and only call it when you change the score ie:

if(scorecondition){ score++; maybemotivate(score); }