- 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

  • Performance Comparison: Apache vs. IIS
    Feb 21, 2017

    There has been a lot of discussion regarding which of the two most popular Web servers is better. Take a look at this comparison of their characteristics and performance. Read More

  • Mobile-oriented CSS3 Techniques
    Feb 16, 2017

    Much of the requirements of mobile apps have led web development into forays far from its original large screen target-base. Rob Gravelle examines some of the more mobile-oriented CSS techniques that have emerged amidst the modern mobile device landscape. Read More

  • New Features in ASP.NET Core
    Feb 15, 2017

    Leverage the new modular ASP.NET Core framework to build applications that are platform-independent, lean and fast. Read More

  • The 2017 Guide to Polyfills
    Feb 13, 2017

    The Internet landscape changes in so many ways and with such rapidity that it seldom remains static for any length of time. So too with the world of Polyfills. Rob Gravelle presents specialized Polyfills for CSS and ECMAScript 2015, as well as libraries that tailor Polyfills to the browser. Read More

  • CSS3 Trends for 2017
    Feb 9, 2017

    Built on CSS3, new page layouts have become more responsive and dynamic than ever before. In this article, Rob Gravelle takes a look at emerging CSS3 web design trends for 2017. Read More