Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed Object-Oriented JavaScript: Challenge!

Instruction

drop() Method Animation Challenge Solution

drop() Animation Solution

To animate the Token dropping into the target Space object, use the following code:

$(this.htmlToken).animate({
    top: (target.y * target.diameter)
}, 750, 'easeOutBounce', reset);