Introduction to JavaScript: Learn how to create scripts in JavaScript for your website

· J.D Gauchat
Ebook
137
Pages
Eligible

About this ebook

 Learn how to program with JavaScript. After reading this guide, you will know how to create a program in JavaScript, how to define functions and objects, and how to read and modify an HTML document dynamically.

Table of Contents

JAVASCRIPT

Introduction to JavaScript

Implementing JavaScript

Variables

Strings

Booleans

Arrays

Conditionals and Loops

Control Transfer Instructions

Functions

Declaring Functions

Scope

Anonymous Functions

Standard Functions

Objects

Declaring Objects

Methods

The this Keyword

Constructors

The new Operator

Inheritance

Standard Objects

String Objects

Array Objects

Date Objects

Math Object

Window Object

Document Object

Element Objects

Creating Element Objects

Events

The addEventListener() Method

Event Objects

Debugging

Console

Console Object

Error Event

Exceptions

APIs

Native Libraries

External Libraries

QUICK REFERENCE

Event Attributes

Instructions

Constructors

Strings

Arrays

Dates

Properties

Functions

Window Object

Document Object

Element Object

Events

Errors

This guide assumes that you have a basic knowledge of web development, HTML and CSS, and you know how to create files and upload them to a server. If you need more information on web development or you don't know how to program in HTML and CSS, download our guides Web Development, Introduction to HTML and Introduction to CSS. For a complete course on web development, read our book HTML5 for Masterminds.

This guide is a collection of excerpts from the book HTML5 for Masterminds. The information included in this guide will help you understand a particular aspect of web development, but it will not teach you everything you need to know to develop a website or a web application. If you need a complete course on web development, read our book HTML5 for Masterminds. For more information, visit our website at www.formasterminds.com.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.