HTML5 programming with JavaScript for dummies : a Wiley brand /
John Paul Mueller.
- New York : Wiley, c2013
- xiv, 394 pages : illustrations ; 24 cm.
Includes bibliographical references.
HTML5 Programming with JavaScript® For Dummies®; About the Author; Table of Contents; Introduction; About This Book; What You Don't Have to Read; Foolish Assumptions; Conventions Used in This Book; How This Book Is Organized; Icons Used in This Book; Where to Go from Here; Part I: Understanding the Basics of JavaScript; Chapter 1: HTML, Say Hello to JavaScript; Introducing JavaScript; Seeing How JavaScript Fits into an HTML Document; Chapter 2: Assessing Tools of the Trade; Researching Browsers and Their Debugging Tools; Discovering Programs to Write JavaScript; Hosting Your Site. Chapter 3: Integrating HTML5 and JavaScriptCreating Simple Output; Working with JavaScript Statements; Writing Comments in JavaScript; Alerting Visitors That JavaScript Has Something to Say; Part II: Speaking the JavaScript Language; Chapter 4: Embracing JavaScript Variables; Understanding Simple Variables; Working with Booleans; Working with Numbers; Working with Text; Working with Arrays; Chapter 5: Working with Objects; Defining Objects; Using and Creating Objects; Working with Object Literals; Naming Variables and Objects Properly. Chapter 6: Getting to Know the Standard JavaScript ObjectsDefining the Basic JavaScript Objects; Introducing the String Object; Working with the Date Object; Part III: Meeting JavaScript's Control Structures; Chapter 7: Using Functions; Using the Built-In Functions; Working with the Math Object; Building Custom Functions; Working with Private Properties and Methods; Chapter 8: Making Choices in JavaScript; Understanding the Reasons for Applications to Make Decisions; Deciding When to Use the if Statement; Switching Between Choices; Chapter 9: Making the Rounds with Loops; Discovering Loops. Creating for LoopsCreating while Loops; Examining Objects Using for/in; Nesting Loops; Chapter 10: Performing Error Handling; Understanding Errors; Catching Errors; Throwing Errors; Form Event Support in JavaScript; Part IV: Interacting with Users and HTML; Chapter 11: Understanding the Document Object Model; Introducing the Document Object Model (DOM); Accessing Individual HTML Elements; Considering Events; Working with Styles; Working with Nodes; Chapter 12: Handling Events; Introducing Events; Clicking to Create an Event; Pressing a Key; Creating Custom Events. Chapter 13: Connecting with Style: JavaScript and CSSChanging HTML Elements; Building Dynamic HTML Elements; Animating and Positioning HTML Elements; Creating JavaScript-Based Menus; Chapter 14: Enhancing HTML5 Forms with JavaScript; Revisiting the HTML5 Form Features; Accessing Form Elements; Validating Forms; Chapter 15: Interacting with Windows; Working with Windows; Accessing the Screen; Finding a Location; Searching History; Working with Navigator; Creating a Pop-Up; Using Cookies; Part V: Extending JavaScript Further; Chapter 16: Working with XML in JavaScript; Introducing XML.
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.