- 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

  • 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

  • 2-Way Background Images SlideS
    David Sosnowski

    Runs an image slideshow in the background of the page, underneath the page content. Used with the accompanying style script, images are discretely positionable in the page space, just like a regular slideshow. Leave out the style script, and the slideshow runs with full page-space presentation. IE 4.0+ or NS 6.0 (degrades gracefully in others) Read More

  • Animated MiniTabs
    Brian McAllister

    A sleek animation effect using tabs for a slide navigation bar. Degrades very nicely when JavaScript is turned-off. (06/16/2006) Read More

  • Break Out
    Nick Young

    This is a JavaScript version of Break Out. Keep the ball bouncing and try to clear the entire field of blocks. Cool! Read More

Recent Web Development Articles