Boring

JavaScript

While working through this tutorial, I found it boring because it's really not well organized and worse of all, it is so extremely repetitious and broken up. When I'm finish with this tutorial, if my head comes out of the fog of lethargy, I may re-organize my homework pages so that it's not so jumbled. Needless to say, now I remember why I never completed the course back in 1997: it put me to sleep! Z - z - z  -   z    -    z     -     z   -    -     -      .

This 388-paged Javascript Tutorial, as well as this online tutorial may be beneficial to review for better comprehension of WHY anyone would use JavaScript for web designing...


Introduction

What is JavaScript?
Change HTML Content
Change HTML Attributes
Change HTML Styles (CSS)
Validate Data

Script Placement

Placement in Document
Placed in Head
Placed in Body
External File

Output

Display Possibilities
Using Window.Alert
Using Document.Write
Using InnerHTML
Using Console.Log

Syntax

Programs
Statements: Value
Statements: Operators
Statements: Expressions
Statements: Keywords
Statements: Comments
Identifiers
Camel Case

Statements

Statements
Programs
Semicolons
White Space
Line Length & Breaks
Code Blocks
Keywords

Comments

Single Line Comment
Multi-Line Comment
Comments to Prevent Action

Variables

Variables
Like Algebra
Indentifiers
Assignment Operator
Data Types
Create Variables
One Statement, Many Variables
Undefined Value & Redeclaring
JavaScript Arithmetic
Test #1

Operators

Arithmetic Operators
Assignment Operators
String Operators
Add Strings & Numbers
Comparison & Logical Operators

Arithmetic

Operators & Operations
Operators & Operands
Operator Precedence
Precedence Priority
Test #2

Assignment

Assignment Operators
Test #3

Data Types

Data Types
Dynamic Types
Strings
Numbers
Booleans
Arrays
Objects
Typeof
Undefined Values
Empty Values
Null
Undefined vs Null

Functions

Functions
Syntax
Invocation
Return
Why Functions?
Invoking
As Variables
Test #4

Objects

Objects
Properties
Methods
Definition
Access Object Properties
Access Object Methods
Do Not Declare
Test #5

Scope

Local
Global
Automatically Global
Lifetime of Variables
Function Arguments
Global Variables in HTML

Events

HTML Events
Common HTML Events
What Can JavaScript Do?
Test #6

String

Strings
String Length
Special Characters
Breaking Long Code Lines
Strings as Objects
Properties & Methods
Test #7

String Methods

IndexOf
LastIndexOf
Search
Extracting With Slice
Extracting With Substring
Extracting With Substr
Replacing Strings
Convert to Upper/Lowercase
Concat
CharAt & CharCodeAt
Convert String to Array
Omitting a Separator
Test #8

Numbers

64-Bit Floating Point
Precision
Hexadecimal
Infinity
NaN (Not a Number)
Numbers Can Be Objects
Properties
Test #9

Number Methods

Global Methods
Number Methods
The Number Method
The parseFloat Method
The parseInt Method
The toString Method
The toExponential Method
The toFixed Method
The toPrecision Method
The valueOf Method

Math

Math.random
Math.min
Math.max
Math.round
Math.ceil
Math.floor
Math Constants
Review: Math Object Methods
Test #10

Dates

Displaying Dates
Creating Date Objects
New Date(date string)
New Date(number)
New Date(7 numbers)
The toString Method
The toUTCString Method
The toDateString Method
Time Zones
Test #11

Date Formats

Input & Output
ISO Dates
ISO Year & Month
ISO Year Only
ISO Dates With Time
JavaScript Long Dates
JavaScript Short Dates
Full Date Format
Time Zones

Date Methods

Date Get Methods
The getTime Method
The getFullYear Method
The getDay Method
The setFull Year Method
The setDate Method
Date.parse Method
Compare Dates
UTC Date Methods

Arrays

Displaying Arrays
What is an Array?
Creating an Array
Change Array Elements
Arrays Are Objects
The length Property
Add Elements to Array
Holes in Arrays
Looping Array Elements
Array Indexing
Arrays VS Objects
Avoid new Array()
How to Recognize an Array
Test #12

Array Methods

Convert Arrays to Strings
The join() Method
The pop() Method
The push() Method
The shift() Method
The unshift() Method
Change Elements
Add With Length Property
Delete Elements
Splice an Array




Table of Contents