- Free JavaScripts, Tutorials, Example Code, Reference, Resources, And Help

The JavaScript Source is an excellent JavaScript resource with tons of "cut and paste" JavaScript examples for your Web pages. All for free!

Featured Scripts from JavaScript Source

  • FreeFallMenu by Maciej Plesnar
    Maciej Ple??nar

    Cool drop-down 3d menu effect with real physics in css and javascript. Read More

  • Show Current Date/Time on Web Page by Zyvxn

    This script shows you the simple code to display the current date on your Web page. Read More

  • JavaScript: Building a fitness app - data and models (Article)

    Follow the first few steps of building a fitness app using JavaScript. Read More

  • Palindrome Checker by muazzam

    Check if the word you choose is spelled the same backwards and forwards. Read More

  • textToHtmlAssistant by Daniel M Hellerstein
    Daniel M Hellerstein

    textToHtmlAssistant is a standalone javascript script will convert text files to HTML.
    That means trying to figure out what kinds of HTML markup to insert into the text file to make it pretty.
    While far from perfect, and not particularly elegant, textToHtmlAssistant can do a credible job. textToHtmlAssistant is especially useful for converting text files with lots of HTML tags -- the tags are displayed as they are. Read More

  • Infinite Scroll Using Ajax by Manideep

    Instead of showing results in different pages, retrieving all the results in a single page using simple javascript code. Read More

  • Displaying a Google Map
    Bradley Jones

    This script shows a simple Google Map on a Web page. Read More

  • HTML5 Snake
    William Hughes

    A Basic Snake Game using HTML5 Canvas. Read More

  • Multiple Choice Quiz
    James Crooke

    Add a quiz to your Web page without using a server-side script. Easy to set-up. Questions and answers are stored in a multi-dimensional array format in an external file. The quiz is marked in real time, and once answered, questions are set to read-only. A summary of the users score is alerted at the end. Read More

  • Typing test Application/game by Sanket Sinha
    Sanket Sinha

    typing test game comes with some awesome interface and will provide you a new experience. this typing application will generate random set of words and you have to type them as fast as you can but at same time be careful of what you type. Read More

  • Ants
    Mike Hall

    As you move your mouse around the page a swarming army of ants scattered about the window will chase after it. (No wisecracks about buggy code now...) If an ant actually reaches the mouse cursor, we reposition it randomly around the edge of the window, and its chase starts again. The ant images are preloaded with a great image loading bar script, then the script begins. A great effect! Read More

  • Blackjack
    Mike McGrath

    Play even the classic game of Blackjack in JavaScript! (You might also know it as "21") The object of the game is to get the closest to 21. If you get higher than the dealer without going over, you win! Good luck, and don't gamble. ;-) Read More

Recent Web Development Articles