JavaScript

JavaScript Source Code

Free JavaScript Source Code. Download 10 latest JavaScript with source code for free here.

Date of Birth Counter Using Javascript

Submitted by jaredgwapo on
In this chapter, You will learn to make a Date of birth counter into days, hours and time. Just follow the tutorial below and download the source code. DIRECTIONS Creating our HTML code Date of birth: You are days old: Plus hours old: Plus minutes old: Creating our javascript code You have now created a date counter that counts days, hours and minutes between the date today and the date you

Disable Textbox in 3 Failure Login Attempts in Javascript

Submitted by Jeprox on
In this tutorial we are going to learn how to disable text box in 3 failure login attempts. The user is only given 3 chances to enter the correct username and password. Username: test Password: test You can modify the username and password inside the script. Username: Password:

Hangman Game Using Javascript

Submitted by jaredgwapo on
In this tutorial, we are going to make a simple hangman game using javascript and html. Just follow the instructions below and download the source code. You can you this in your projects or systems. Instructions Writing our html code Score : Fails (6): Writing our Javascript Code You have successfully created a simple hangman game using javascript. For more information, suggestions and queries

MP3 Player Using Javascript

Submitted by jaredgwapo on
In this tutorial, I will teach you how to make a mp3 player using javascript and html. just download the code to use it in your projects or systems. Instructions Creating our index.php page Audio PLayer 00:00| 00:00 Creating our style.css page. /* CSS Document */ body{ background:#f5f5f5; } #container{ width:730px; margin:50px auto; padding:5px; background:#000; } #playpausebtn{ background:url(

Simple Scientific Calculator using javascript

Submitted by Jeprox on
In this project we are going to learn how to create a simple scientific calculator using javascript. Here's the script for scientific calculator. Javascript Code: CSS Code: form{ width:440px; padding:25px; margin:auto; border:5px solid #aaa; border-radius:15px 15px; } input{ background:#888; color:#fff; font-size:15px; padding-top:15px; padding-bottom:15px; padding-left:19px; padding-right:19px

Snake Game using Javascript

Submitted by jaredgwapo on
In this tutorial, I am going to teach on how to create a snake game in javascript. Just download the source code and follow the instructions below. DIRECTIONS HTML Code snake[i-1].xx) { context.drawImage(snakeTailImage, (snake[i].xx * 32), (snake[i].yy * 32) ); } //following right else if(snake[i].xx snake[i-1].xx) { drawRotatedImage(snakeTailImage,(snake[i].xx * 32), (snake[i].yy * 32), 180); }

Snow Effect Using Javascript

Submitted by jaredgwapo on
This is a simple program that will teach on how to create a snow effect using javascript. You can use this in your projects or systems. Just download the source code below. Instructions HTML Code Snow Demo Javascript Code /** * X-Team Snow * @author Andrew Valums * * Copyright (c) 2009 X-Team, http://x-team.com */ (function(){function k(a,b,c){if(a.addEventListener)a.addEventListener(b,c,false)

Progress Meter Using CSS and Javascript

Submitted by jaredgwapo on
In this tutorial, I am going to teach you on to make a beautiful progress meter using CSS and Javascript. Just download the source code below and follow the instructions. Instructions Creating our index.php page In this page we will be creating our html code. don't forget to place the css link on the head tag of the page and place the javascript link below the body tag. Progress Meter Task 1 Task