Apress Cyber Monday SALE

JavaScript for Absolute Beginners

By Terry McNavage

  • eBook Price: $20.99
  • Print Book Price: $29.99
Buy eBook Buy Print Book
If you are new to both JavaScript and programming, this hands-on book is for you.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-7219-9
  • 504 Pages
  • User Level: Beginner
  • Publication Date: December 28, 2010
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Pro CSS3 Layout Techniques
  • Pro Marketing and Search Engine Optimization
  • Introducing Meteor
  • Migrating from Drupal to Backdrop
  • Full Stack JavaScript
  • Pro React
  • Windows 10 Development Recipes
  • Beginning CSS Preprocessors
  • JavaScript Quick Syntax Reference
Full Description

If you are new to both JavaScript and programming, this hands-on book is for you. Rather than staring blankly at gobbledygook, you'll explore JavaScript by entering and running hundreds of code samples in Firebug, a free JavaScript debugger. Then in the last two chapters, you'll leave the safety of Firebug and hand-code an uber cool JavaScript application in your preferred text editor.

Written in a friendly, engaging narrative style, this innovative JavaScript tutorial covers the following essentials:

  • Core JavaScript syntax, such as value types, operators, expressions, and statements provided by ECMAScript.
  • Features for manipulating XHTML, CSS, and events provided by DOM.
  • Object-oriented JavaScript, including prototypal and classical inheritance, deep copy, and mixins.
  • Closure, lazy loading, advance conditional loading, chaining, currying, memoization, modules, callbacks, recursion, and other powerful function techniques.
  • Encoding data with JSON or XML.
  • Remote scripting with JSON-P or XMLHttpRequest
  • Drag-and-drop, animated scrollers, skin swappers, and other cool behaviors.
  • Optimizations to ensure your scripts run snappy.
  • Formatting and naming conventions to prevent you from looking like a greenhorn.
  • New ECMAScript 5, DOM 3, and HTML 5 features such as Object.create(), Function.prototype.bind(), strict mode, querySelector(), querySelectorAll(), and getElementsByClassName().

As you can see, due to its fresh approach, this book is by no means watered down. Therefore, over the course of your journey, you will go from JavaScript beginner to wizard, acquiring the skills recruiters desire.

Who this book is for

This book is aimed at anybody who wants to learn how to use JavaScript to create more interactive and stickier web sites.

Table of Contents

Table of Contents

  1. Representing Data with Values
  2. Type Conversion
  3. Operators
  4. Controlling Flow
  5. Member Inheritance
  6. Functions and Arrays
  7. Traversing and Modifying the DOM Tree
  8. Scripting CSS
  9. Listening for Events
  10. Scripting BOM
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.
No errata are currently published


    1. PHP Objects, Patterns, and Practice


      View Book

    2. Beginning Android 3D Game Development


      View Book

    3. Troubleshooting Oracle Performance


      View Book

    4. Beginning Amazon Web Services with Node.js


      View Book