Features
- Today's easiest, quickest, most entertaining introduction to JavaScript: perfect for people who've never programmed before
- Large illustrations show all code in full color, to help you understand JavaScript's structure and key components
- Covers today's applications, features, techniques, and frameworks
- Presents simple, reliable instructions
- Copyright 2017
- Dimensions: 7" x 9-1/8"
- Pages: 416
- Edition: 1st
-
Book
- ISBN-10: 0-7897-5806-7
- ISBN-13: 978-0-7897-5806-4
JavaScript Absolute Beginner's Guide
No experience necessary!
Make the most of JavaScript -- even if you've never programmed anything before. This book is the fastest way to learn JavaScript and use it together with CSS3 and HTML5 to create powerful web and mobile experiences. Learn how to do what you want, the way you want, one incredibly easy step at a time. JavaScript has never been this simple!
This is the easiest, most practical beginner’s guide to programming JavaScript with simple, reliable instructions for doing everything you really want to do! Here’s a small sample of what you’ll learn:
- Learn why JavaScript is awesome
- Organize your code with variables
- Understand how functions make your code reusable
- Use the popular if/else statement to help make a decision in code
- Learn about switch statements and when to use them
- Work with for, while, and do...while loops
- Learn how to use global and local scope
- Understand what closures are
- Learn about the various places your code can live
- Understand how to write comments and good commenting practices
- Learn about the basic types of objects you'll run into in JavaScript
- Find out that pizza has an educational value beyond just being deliciously awesome
- Understand how text is treated in JavaScript
- Learn how to perform common string operations
- Use arrays to handle lists of data
- Learn to create custom objects
Purchase of
JavaScript Absolute Beginner's Guide in any format includes free access to the online Web Edition, which provides several special features to help you learn:
- The complete text of the book online
- Short videos by the author introducing each chapter
- Interactive quizzes to test your understanding of the material
- Updates and corrections as they become available
This Web Edition can be viewed on all types of computers and mobile devices with any modern web browser that supports HTML5.
Contents at a Glance 1 Hello, World!
Part I: The Basic Stuff2 Values and Variables3 Functions4 Conditional Statements: If, Else, and Switch5 Meet the Loops: For, While, and Do…While!6 Timers7 Variable Scope8 Closures9 Where Should Your Code Live?10 Commenting Your Code
Part II: It’s an Object-Oriented World11 Of Pizza, Types, Primitives, and Objects12 Strings13 When Primitives Behave Like Objects14 Arrays15 Numbers16 A Deeper Look at Objects17 Extending Built-in Objects18 Booleans and the Stricter === and !== Operators19 Null and Undefined20 Immediately Invoked Function Expressions
Part III: Working with the DOM21 JS, The Browser, and The DOM22 Finding Elements in the DOM23 Modifying DOM Elements24 Styling Your Content25 Traversing the DOM26 Creating a
Online Sample Chapter
Functions
Excerpt
JavaScript - Create an Array
Sample Pages
Download the sample pages (includes Chapter 3 and the Index.)
Table of Contents
- Introduction
- Chapter 1 Hello, World!
- PART I: THE BASIC STUFF
- Chapter 2 Values and Variables
- Chapter 3 Functions
- Chapter 4 Conditional Statements: If, Else, and Switch
- Chapter 5 Meet the Loops: For, While, and Do…While!
- Chapter 6 Timers
- Chapter 7 Variable Scope
- Chapter 8 Closures
- Chapter 9 Where Should Your Code Live?
- Chapter 10 Commenting Your Code
- PART II: IT’S AN OBJECT-ORIENTED WORLD
- Chapter 11 Of Pizza, Types, Primitives, and Objects
- Chapter 12 Strings
- Chapter 13 When Primitives Behave Like Objects
- Chapter 14 Arrays
- Chapter 15 Numbers
- Chapter 16 A Deeper Look at Objects
- Chapter 17 Extending Built-in Objects
- Chapter 18 Booleans and the Stricter Operators
- Chapter 19 Null and Undefined
- Chapter 20 Immediately Invoked Function Expressions
- PART III: WORKING WITH THE DOM
- Chapter 21 JS, The Browser, and The DOM
- Chapter 22 Finding Elements in the DOM
- Chapter 23 Modifying DOM Elements
- Chapter 24 Styling Your Content
- Chapter 25 Traversing the DOM
- Chapter 26 Creating and Removing DOM Elements
- Chapter 27 In-Browser Developer Tools
- PART IV: DEALING WITH EVENTS
- Chapter 28 Events
- Chapter 29 Event Bubbling and Capturing
- Chapter 30 Mouse Events
- Chapter 31 Keyboard Events
- Chapter 32 Page Load Events and Other Stuff
- Chapter 33 Handling Events for Multiple Elements
- Chapter 34 Conclusion
- Glossary
- Index