JavaScript Tutorials

Learn the basics of Javascript with TechFaq! Here you will find the most comprehensive list of JavaScript tutorials and resources along with questions and answers.

Date Difference Tutorial

This tutorial will show you how to calculate the difference between 2 dates in Javascript. Here, you will also learn how to use dates and time using javascript.

Image Slide Show Tutorial

Building an image slideshow has never been easy with Javacript. Aside from rollover effects, building an image slideshow is one of the easiest and the most efficient tasks to accomplish using JavaScript. In this tutorial, you will learn how to create your own cool slideshows using JavaScript.

JavaScript Tutorials

Combo Link Menus Tutorial

This tutorial will show you how to create combo link menus using Javascript.

This section has a sample code of the combo link box, and will show you how to renovate it with add ons and variations. Here, you will learn how to create a combo link menu, and other tasks.

Sessions Only Cookies Tutorial

There’s really no other easier way to learn stuff through examples. Here you will learn everything about session-only cookies. There are 2 types of cookies in Javascript: the permanent and the session-only. The session-only cookies only stores data in the browser memory, and will only be available for the duration of the browser session. This tutorial will show you how to set and retrieve session-only cookies. It also has an example code for you to easily understand the lesson.

External JS Library Tutorial

This section will show you how to create and reference external Javascript libraries.

Javascript is usually found in the head and in the body of an HTML document. Just so you know, it can also be an external file. If you are familiar with external CSS, then this tutorial would be easy for you. Here, you will learn how to create a library for your code, create a reference to it so that your browser will download and run it as if its coded onto the page.

Windows Methods Tutorial

This section will teach you how to move, scroll and resize a window using Javascript.

This section has lessons for customizing the new window, how to reload, close new content into a window, and access objects of a window using Javascript.

Random Numbers Tutorial

This is a Javascript tutorial that will show you how to generate weighed random numbers in Javascript. Here, you will also learn how to generate random text & numbers in Javascript.

Array Sort Tutorial

This tutorial has lessons that will teach you to how to sort an array of objects using Sort().  It has lessons on how to sort arrays of objects, as well as an example of numbers and words sorter.

Sending Objects Tutorial

Want to learn how to send a variable to the next page in Javascript? Here, you will find lessons on how to so as well as sample codes for you to easily understand how it works.