How to create a Thank You animation for the form submission in JavaScript or jQuery?

Hello friends,

I have been using HTML and CSS and knows all the basic things. I am creating a feature which asks for the user’s Twitter address on a text box and stores it into the database. I have already achieved this thing but I need to add a functionality. This functionality is that I want to show a flying rocket for 3 seconds to the user (which submits his twitter address).

After the 3 seconds the rocket burst and a thank you message is shown to the user. I am creating this feature in jQuery Animate method because there isn’t any jQuery plugin to create this animation. I have searched lots of plugins but I could not find any.

Therefore I ask you for your help. Can someone provide me relevant codes for this?

Much Thanks