Skip to main content

HTML5 Programming with JavaScript For Dummies

HTML5 Programming with JavaScript For Dummies

John Paul Mueller

ISBN: 978-1-118-49418-9

Apr 2013

408 pages

Select type: E-Book

Product not available for purchase

Description

Web designers and programmers, add JavaScript to your HTML5 development toolkit without fear

Modern websites are complex, and some of the most exciting features - things like geolocation, canvas, portability to mobile and more - require JavaScript to leverage what HTML5 can create. Don't know JavaScript? That's where HTML5 Programming with JavaScript For Dummies comes in. Rather than walking you through JavaScript as a programming language, it approaches JavaScript as a tool to help you enhance web pages.

  • Helps web designers and programmers tap the full power of HTML5 by leveraging JavaScript, even if they have no prior knowledge of JavaScript
  • Enables readers to produce modern websites with today's technology essentials: portability to mobile devices, animation, the use of Libraries, the Canvas component, and more
  • Emphasizes practical uses and offers many short examples for illustration

Discover basic to complex ways to use JavaScript programming syntax to harness the full power of HTML5 and CSS3.

Introduction 1

About This Book 1

What You Don’t Have to Read 2

Foolish Assumptions 2

Conventions Used in This Book 3

How This Book Is Organized 3

Part I: Understanding the Basics of JavaScript 3

Part II: Speaking the JavaScript Language 4

Part III: Meeting JavaScript’s Control Structures 4

Part IV: Interacting with Users and HTML 4

Part V: Extending JavaScript Further 5

Part VI: The Part of Tens 5

The companion Website 5

Icons Used in This Book 6

Where to Go from Here 6

Part I: Understanding the Basics of JavaScript 9

Chapter 1: HTML, Say Hello to JavaScript 11

Chapter 2: Assessing Tools of the Trade 23

Chapter 3: Integrating HTML5 and JavaScript 47

Part II: Speaking the JavaScript Language 63

Chapter 4: Embracing JavaScript Variables 65

Chapter 5: Working with Objects 89

Chapter 6: Getting to Know the Standard JavaScript Objects 103

Part III: Meeting JavaScript’s Control Structures 125

Chapter 7: Using Functions 127

Chapter 8: Making Choices in JavaScript 141

Chapter 9: Making the Rounds with Loops 151

Chapter 10: Performing Error Handling 167

Part IV: Interacting with Users and HTML 177

Chapter 11: Understanding the Document Object Model 179

Chapter 12: Handling Events 195

Chapter 13: Connecting with Style: JavaScript and CSS 215

Chapter 14: Enhancing HTML5 Forms with JavaScript 227

Chapter 15: Interacting with Windows 241

Part V: Extending JavaScript Further 257

Chapter 16: Working with XML in JavaScript 259

Chapter 17: Cleaning Up the Web with AJAX 271

Chapter 18: Making JavaScript Easier with jQuery 279

Chapter 19: Using jQuery to Handle AJAX 299

Chapter 20: Animating the Web 313

Part VI: The Part of Tens 345

Chapter 21: Ten Incredible HTML5 and JavaScript Examples 347

Chapter 22: Ten Thoughts About the Future of Web Development 375

Index 381

Source Code for Book
Download