Labrecque, Joseph

The JavaScript workshop : Learn to develop interactive web applications with clean and maintainable JavaScript code / Joseph Labrecque, Jahred Love, Daniel Rosenbaum, Nick Turner, Gaurav Mehla, Alonzo L. Hosford, Florian Sloot, Philip Kirkbride - 1st ed. - 1 online resource ill. ;

Cover
FM
Copyright
Table of Contents
Preface
Chapter 1: Getting to Know JavaScript
Introduction
What Is JavaScript and How Is It Used?
JavaScript versus Other Languages
Exercise 1.01: Languages Discovery
A Brief History of the JavaScript Language
Netscape Mocha and LiveScript
Sun Microsystems and Java
Ecma International and ECMAScript
Versions of ECMAScript (and JavaScript)
ECMAScript 1 (1997)
ECMAScript 2 (1998)
ECMAScript 3 (1999)
ECMAScript 4 (unreleased)
ECMAScript 5 (2009)
ECMAScript 6 (2015) ECMAScript 7 (2016), ECMAScript 8 (2017), and ECMAScript 9 (2018)
Exercise 1.02: Can I Use This Feature?
Accessing Web Browser Developer Tools
Google Chrome
Microsoft Edge
Apple Safari
An Introduction to Variables
Exercise 1.03: Programming First Steps
Activity 1.01: Creating an Alert Box Popup in the Web Browser
Overview of JavaScript Capabilities
Client-Side Form Validation
JavaScript Widgets or Components
XML HTTP Requests (XHR)
Storing Local Data
DOM Manipulation
Animations and Effects
Summary
Chapter 2: Working with JavaScript Introduction
Integrated Development Environments (IDE)
GitHub's Atom
Sublime Text
Adobe Dreamweaver
JetBrains WebStorm
Microsoft Visual Studio Code
JavaScript Project and File Management
Project Folders and Files
Exercise 2.01: Creating a Working Project Directory
JavaScript Syntax and Structure
Exercise 2.02: Creating Project Boilerplate
Basic JavaScript Syntax
JavaScript Execution Order
Exercise 2.03: Verifying an Execution Order
Overview of JavaScript Environments
Browser-Based JavaScript
Server-Based JavaScript
Desktop JavaScript Mobile JavaScript
A Closer Look at Web Browser Developer Tools
The Elements View
The Console View
The Sources View
The Network View
HTML Element Manipulation with JavaScript
Activity 2.01: Adding and Modifying an Item to/in the To-Do List
Summary
Chapter 3: Programming Fundamentals
Introduction
Data Types
Representation of Data
Literal Values
Using Operators in Expressions
Exercise 3.01: Implementing Expressions and Operators
Using Variables and Constants in Expressions
Exercise 3.02: Working with Variables Using the Web Browser Console Functions That Return Values
Exercise 3.03: Using Functions in Expressions
The Object Data Type
Ready-Made Objects
Exercise 3.04: Working with Ready-Made Objects
Self-Made Objects
Object Dot Notation
The Array Object
Using the Console Object
Syntax
Semicolon at the End of Code Statements
Lines of Code versus Statements
Comments
Conditional and Loop Flow
Code Blocks
Conditional Flow Statements
if ... else Statement
if Statement
Exercise 3.05: Writing an if statement
if Statement and else Statement

Cut through the noise and get real results with a step-by-step approach to beginner JavaScript development

9781838641917 9781838645885


JavaScript (Computer program language)
Computer programming software development
Computers Internet Application Development
Computers Programming Open Source

005.133