It’s Friday! Let’s have some fun, shall we? In this post, we have collected some funny and entertaining things that JavaScript can do. With JavaScript, you can find some little joys and make many funny things that you may not have realized. So check this out. Enjoy lol!

Related posts:

1. Pictures flying as a snake around the mouse pointer

Make pictures flying like snake around your mouse pointer just copy and paste the JavaScript code into the address bar of any browser then press Enter.

2. Transform the web page into the editable mode

Make funny things with this simple JavaScript, such as; faking the screen capture of some proof, faking some hot news for April Fool’s Day and more, quickly.

3. You must love me

Give your lover the link of this effect, then ask her to answer the question “Do you love (marry) me?” and see if she can say no! (I tried the demo more than 10x and couldn’t help myself from laughing!)

4. Joking Error Message Alert box

Like the above funny JavaScript but this script uses the picture to make the choices; maybe from the idea of this joke plus some different pictures, you can make more funny jokes.

5. The text based Cheerleader Animation

No need to say more about it, let try it out by yourself.

6. Faking Textarea on Typing

This funny script made to prove that you’re too trusting of people. Don’t believe me? Just check it by yourself.

7. Unclosable Window

Your mind should be ready before run this script, maybe it will not be funny; and you have to enable popup for this darn script! (I got a little headache on this one, and I thought I wouldn’t spare you)

8. Shake or Buzz the browser window (browser screen) with JavaScript

While chatting with friends do you Buzz them or get a Buzz. It will shake your screen. In this article we are going to shake browsers window.

9. Love Tester

Now you can check the love compatibility between two people with the help of this small JavaScript. (I and this script are not responsible for any broken relationship you tried. lol)

10. Fake Alerts

This so simple. All you have to do is to copy and paste the given JavaScript code into website of choice. Don`t forget to change the text!

Sam Deering is a Front-end Web Developer who specialises in JavaScript & jQuery. Sam is driven and passionate about sharing his knowledge to educate others.

Free Guide:

How to Choose the Right Charting Library for Your Application

How do you make sure that the charting library you choose has everything you need? Sign up to receive this detailed guide from FusionCharts, which explores all the factors you need to consider before making the decision.

  • Aakash

    Awesome they are!!

  • marjorie

    i loved this to test my friends

Special Offer
Free course!

Git into it! Bonus course Introduction to Git is yours when you take up a free 14 day SitePoint Premium trial.