Book description
Fully updated for the latest JavaScript standard and featuring a new chapter on HTML5 and jQuery
JavaScript: A Beginner's Guide shows how to create dynamic Web pages complete with special effects using today's leading Web development language. With the growth of HTML 5, JavaScript is expected to grow even more to script the canvas element, add drag and drop functionality, and more. This fast-paced tutorial provides step-by-step coverage of the fundamentals, including variables, functions, operators, event handlers, objects, arrays, strings, and forms. The book then moves to more advanced techniques, including debugging, accessibility, and security. This pedagogically rich, hands-on guide explains how JavaScript works with HTML 5 and covers the new features available in JavaScript.
- Key Skills & Concepts--Chapter-opening lists of specific skills covered in the chapter
- Ask the Expert--Q & A sections filled with bonus information and helpful tips
- Try This--Hands-on exercises that show you how to apply your skills
- Notes--Extra information related to the topic being covered
- Tips--Helpful reminders or alternate ways of doing things
- Self-Tests--End-of-chapter reviews to test your knowledge
- Annotated syntax--Example code with commentary that describes the programming techniques being illustrated
- Code downloads provided for projects in the book
Table of contents
- Cover
- Title Page
- Copyright Page
- About the Author
- Contents at a Glance
- Contents
- Acknowledgments
- Introduction
- 1 Introduction to JavaScript
- 2 Placing JavaScript in an HTML File
- 3 Using Variables
- 4 Using Functions
-
5 JavaScript Operators
- Understanding the Operator Types
- Understanding Arithmetic Operators
- Understanding Assignment Operators
- Try This 5-1: Adjust a Variable Value
- Understanding Comparison Operators
- Understanding Logical Operators
- Special Operators
- Understanding Order of Operations
- Try This 5-2: True or False?
- Chapter 5 Self Test
- 6 Conditional Statements and Loops
- 7 JavaScript Arrays
- 8 Objects
- 9 The Document Object
- 10 Event Handlers
- 11 Window Object
- 12 Math, Number, and Date Objects
- 13 Handling Strings
- 14 JavaScript and Forms
- 15 An Introduction to Advanced Techniques
- 16 JavaScript Libraries, HTML5, and Harmony
-
A Answers to Self Tests
- Chapter 1: Introduction to JavaScript
- Chapter 2: Placing JavaScript in an HTML File
- Chapter 3: Using Variables
- Chapter 4: Using Functions
- Chapter 5: JavaScript Operators
- Chapter 6: Conditional Statements and Loops
- Chapter 7: JavaScript Arrays
- Chapter 8: Objects
- Chapter 9: The Document Object
- Chapter 10: Event Handlers
- Chapter 11: Window Object
- Chapter 12: Math, Number, and Date Objects
- Chapter 13: Handling Strings
- Chapter 14: JavaScript and Forms
- Chapter 15: An Introduction to Advanced Techniques
- Chapter 16: JavaScript Libraries, HTML5, and Harmony
- Index
Product information
- Title: JavaScript: A Beginner's Guide, Fourth Edition, 4th Edition
- Author(s):
- Release date: August 2013
- Publisher(s): McGraw-Hill
- ISBN: 9780071822015
You might also like
book
JavaScript: A Beginner's Guide, Fifth Edition, 5th Edition
Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, …
book
JavaScript Absolute Beginner's Guide, 2nd Edition
Who knew how simple using JavaScript could be? Make the most of JavaScript--even if you've never …
book
JavaScript: The Definitive Guide, Fourth Edition
JavaScript is a powerful, object-based scripting language; JavaScript programs can be embedded directly in HTML web …
video
A Beginner's Guide to Understanding JavaScript
In this Beginner's Guide to Understanding JavaScript training course, expert author Daniel Stern provides an overview …