Book description
Designed to help experienced programmers develop real-world, job-role-specific skills—this Training Guide focuses on creating applications with HTML5, JavaScript, and CSS3. Build hands-on expertise through a series of lessons, exercises, and suggested practices—and help maximize your performance on the job.
- Provides in-depth, hands-on training you take at your own pace
- Focuses on job-role-specific expertise for using HTML5, JavaScript, and CSS3 to begin building modern web and Windows 8 apps
- Features pragmatic lessons, exercises, and practices
- Creates a foundation of skills which, along with on-the-job experience, can be measured by Microsoft Certification exams such as 70-480
- Coverage includes: creating HTML5 documents; implementing styles with CSS3; JavaScript in depth; using Microsoft developer tools; AJAX; multimedia support; drawing with Canvas and SVG; drag and drop functionality; location-aware apps; web storage; offline apps; writing your first simple Windows 8 apps; and other key topics
Publisher resources
Table of contents
- Programming in HTML5 with JavaScript and CSS3: Training Guide
- Introduction
- 1. Getting started with Visual Studio 2012 and Blend for Visual Studio 2012
-
2. Getting started with HTML5
- Before you begin
- Lesson 1: Introducing HTML5
- Lesson 2: Embedding content
- Practice exercises
- Suggested practice exercises
- Answers
-
3. Getting started with JavaScript
- Before you begin
- Lesson 1: Introducing JavaScript
- Lesson 2: Writing, testing, and debugging JavaScript
-
Lesson 3: Working with objects
- Working with arrays
-
Accessing DOM objects
- Navigating the DOM
- Working with events
- Event capturing and event bubbling
- Subscribing to an event
- Unsubscribing from an event
- Canceling event propagation
- Preventing the default operation
- Working with “this”
- Window event reference
- Form event reference
- Keyboard event reference
- Mouse event reference
- Media event reference
- Lesson summary
- Lesson review
- Practice exercises
- Suggested practice exercises
- Answers
-
4. Getting started with CSS3
- Before you begin
- Lesson 1: Introducing CSS3
-
Lesson 2: Understanding selectors, specificity, and cascading
-
Defining selectors
- Creating an element type selector
- Creating an id selector
- Creating a class selector
- Using the universal selector
- Using descendant selectors
- Using child selectors
- Using pseudo-class and pseudo-element selectors
- Grouping selectors
- Using subsequent adjacent sibling selectors
- Using the subsequent sibling selector
- Using an attribute selector
- Using an attribute value selector
- Using the attribute contains value selector
- Using the attribute value starts with selector
- Using the attribute value ends with selector
- Using the attribute contains value in list selector
- Understanding the browser’s built-in styles
- Extending browser styles with user styles
- Working with important styles
- How do styles cascade?
- Using specificity
- Understanding inheritance
- Lesson summary
- Lesson review
-
Defining selectors
- Lesson 3: Working with CSS properties
- Practice exercises
- Suggested practice exercises
- Answers
-
5. More HTML5
- Before you begin
-
Lesson 1: Thinking HTML5 semantics
- Why semantic markup?
- Browser support for HTML5
- Creating semantic HTML5 documents
- Creating an HTML5 layout container
- Controlling format by using the <div> element
- Adding thematic breaks
-
Annotating content
- Using the <b> element
- Using the <strong> element
- Using the <i> element
- The <em> element
- Using the <abbr> element for abbreviations and acronyms
- The <address> element
- Quotations and citations
- Documenting code by using the <code> and <samp> elements
- Displaying preformatted content by using the <pre> element
- Using the <var> element
- Using the <br /> and <wbr /> elements
- Using the <dfn> element to define a term
- Working with figures
- Working with the <summary> and <details> elements
- Understanding other annotations
- Using language elements
- Working with lists
- Lesson summary
- Lesson review
- Lesson 2: Working with tables
- Practice exercises
- Suggested practice exercises
- Answers
-
6. Essential JavaScript and jQuery
- Before you begin
-
Lesson 1: Creating JavaScript objects
- Using object-oriented terminology
- Understanding the JavaScript object-oriented caveat
- Using the JavaScript object literal pattern
- Creating dynamic objects by using the factory pattern
- Creating a class
- Using the prototype property
- Debating the prototype/private compromise
- Implementing namespaces
- Implementing inheritance
- Lesson summary
- Lesson review
- Lesson 2: Working with jQuery
- Practice exercises
- Suggested practice exercises
- Answers
-
7. Working with forms
- Before you begin
-
Lesson 1: Understanding forms
- Understanding web communications
- Submitting form data to the web server
- Sending data when submitting a form
- Using the <label> element
- Specifying the parent forms
- Triggering the form submission
- Serializing the form
- Using the autofocus attribute
- Using data submission constraints
- Using POST or GET
- Lesson summary
- Lesson review
- Lesson 2: Form validation
- Practice exercises
- Suggested practice exercises
- Answers
-
8. Websites and services
- Before you begin
- Lesson 1: Getting started with Node.js
- Lesson 2: Working with web services
- Practice exercises
- Suggested practice exercises
- Answers
-
9. Asynchronous operations
- Before you begin
-
Lesson 1: Asynchronous operations using jQuery and WinJS
- Using a promise object
- Creating jQuery promise objects by using $.Deferred()
- Handling failure
- Handling completion cleanup
- Subscribing to a completed promise object
- Chaining promises by using the pipe method
- Parallel execution using $.when().then()
- Updating progress
- Conditional asynchronous calls
- Lesson summary
- Lesson review
- Lesson 2: Working with web workers
- Practice exercises
- Suggested practice exercises
- Answers
- 10. WebSocket communications
- 11. HTML5 supports multimedia
-
12. Drawing with HTML5
- Before you begin
- Lesson 1: Drawing by using the <canvas> element
- Lesson 2: Using scalable vector graphics
- Practice exercises
- Suggested practice exercises
- Answers
- 13. Drag and drop
- 14. Making your HTML location-aware
-
15. Local data with web storage
- Before you begin
- Lesson 1: Introducing web storage
- Lesson 2: Handling storage events
- Practice exercises
- Suggested practice exercises
- Answers
-
16. Offline web applications
- Before you begin
- Lesson 1: Working with Web SQL
- Lesson 2: Working with IndexedDB
- Lesson 3: Working with the FileSystem API
- Lesson 4: Working with the offline application HTTP cache
- Practice exercises
- Suggested practice exercises
- Answers
- A. About the author
- B. Training Guide: Programming in HTML5 with JavaScript and CSS3 and Exam 70-480
- Index
- About the Author
- Copyright
Product information
- Title: Training Guide: Programming in HTML5 with JavaScript and CSS3
- Author(s):
- Release date: March 2013
- Publisher(s): Microsoft Press
- ISBN: 9780735674387
You might also like
book
Exam Ref 70-480: Programming in HTML5 with JavaScript and CSS3
Prepare for Microsoft Exam 70-480—and help demonstrate your real-world mastery of programming with HTML5, JavaScript, and …
book
Beginning jQuery: From the Basics of jQuery to Writing your Own Plug-ins
Navigate the tricky issues around cross-browser inconsistencies and use jQuery to avoid wasting time fixing these …
book
Active Server Pages 3.0 from Scratch
In Active Server Pages 3.0 From Scratch, Nicholas Chase takes novice Web programmers through the process …
book
Microsoft® Windows® Scripting Self-Paced Learning Guide
Get the inside track on how to write system administration scripts—straight from Microsoft scripting experts. This …