You are previewing Exam Ref 70-480: Programming in HTML5 with JavaScript and CSS3.
O'Reilly logo
Exam Ref 70-480: Programming in HTML5 with JavaScript and CSS3

Book Description

Prepare for Microsoft Exam 70-480—and help demonstrate your real-world mastery of programming with HTML5, JavaScript, and CSS3. Designed for experienced developers ready to advance their status, Exam Ref focuses on the critical-thinking and decision-making acumen needed for success at the Microsoft Specialist level.

Focus on the expertise measured by these objectives:

  • Implement and manipulate document structures and objects

  • Implement program flow

  • Access and secure data

  • Use CSS3 in applications

  • This Microsoft Exam Ref:

  • Organizes its coverage by exam objectives.

  • Features strategic, what-if scenarios to challenge you.

  • Table of Contents

    1. Title Page
    2. Copyright Page
    3. Contents
    4. Introduction
      1. Microsoft certifications
      2. Free ebooks from Microsoft Press
      3. Errata, updates, & book support
      4. We want to hear from you
      5. Stay in touch
    5. Preparing for the exam
    6. Chapter 1. Implement and manipulate document structures and objects
      1. Objective 1.1: Create the document structure
        1. Using HTML5 semantic markup
        2. Creating a layout container in HTML
        3. Optimizing for search engines
        4. Optimizing for screen readers
        5. Objective summary
        6. Objective review
      2. Objective 1.2: Write code that interacts with UI controls
        1. Adding or modifying HTML elements
        2. Implementing media controls
        3. Implementing graphics with HTML5 <canvas> and SVG
        4. Objective summary
        5. Objective review
      3. Objective 1.3: Apply styling to HTML elements programmatically
        1. Changing the location of an element
        2. Applying a transform
        3. Showing and hiding elements
        4. Objective summary
        5. Objective review
      4. Objective 1.4: Implement HTML5 APIs
        1. Using the storage API
        2. Using the AppCache API
        3. Using the Geolocation API
        4. Objective summary
        5. Objective review
      5. Objective 1.5: Establish the scope of objects and variables
        1. Establishing the lifetime of variables and variable scope
        2. Avoiding using the global namespace
        3. Leveraging the this keyword
        4. Objective summary
        5. Objective review
      6. Objective 1.6: Create and implement objects and methods
        1. Implementing native objects
        2. Creating custom objects
        3. Implementing inheritance
        4. Objective summary
        5. Objective review
      7. Answers
        1. Objective 1.1: Thought experiment
        2. Objective 1.1: Review
        3. Objective 1.2: Thought experiment
        4. Objective 1.2: Review
        5. Objective 1.3: Thought experiment
        6. Objective 1.3: Review
        7. Objective 1.4: Thought experiment
        8. Objective 1.4: Review
        9. Objective 1.5: Thought experiment
        10. Objective 1.5: Review
        11. Objective 1.6: Thought experiment
        12. Objective 1.6: Review
    7. Chapter 2. Implement program flow
      1. Objective 2.1: Implement program flow
        1. Evaluating expressions
        2. Working with arrays
        3. Implementing special types of arrays
        4. Using advanced array methods
        5. Implementing iterative control flow
        6. Objective summary
        7. Objective review
      2. Objective 2.2: Raise and handle an event
        1. Using events
        2. Handling DOM events
        3. Creating custom events
        4. Objective summary
        5. Objective review
      3. Objective 2.3: Implement exception handling
        1. Implementing try...catch...finally constructs
        2. Checking for null values
        3. Objective summary
        4. Objective review
      4. Objective 2.4: Implement a callback
        1. Implementing bidirectional communication with the WebSocket API
        2. Making webpages dynamic with jQuery and AJAX
        3. Wiring up an event with jQuery
        4. Implementing a callback with an anonymous function
        5. Using the this pointer
        6. Objective summary
        7. Objective review
      5. Objective 2.5: Create a web worker process
        1. Getting started with a web worker process
        2. Creating a worker process with the Web Worker API
        3. Using web workers
        4. Understanding web worker limitations
        5. Configuring timeouts and intervals
        6. Objective summary
        7. Objective review
      6. Answers
        1. Objective 2.1: Thought experiment
        2. Objective 2.1: Review
        3. Objective 2.2: Thought experiment
        4. Objective 2.2: Review
        5. Objective 2.3: Thought experiment
        6. Objective 2.3: Review
        7. Objective 2.4: Thought experiment
        8. Objective 2.4: Review
        9. Objective 2.5: Thought experiment
        10. Objective 2.5: Review
    8. Chapter 3. Access and secure data
      1. Objective 3.1: Validate user input by using HTML5 elements
        1. Choosing input controls
        2. Implementing content attributes
        3. Objective summary
        4. Objective review
      2. Objective 3.2: Validate user input by using JavaScript
        1. Evaluating regular expressions
        2. Evaluating regular expressions in JavaScript
        3. Validating data with built-in functions
        4. Preventing code injection
        5. Objective summary
        6. Objective review
      3. Objective 3.3: Consume data
        1. Consuming JSON and XML data by using web services
        2. Using the XMLHttpRequest object
        3. Objective summary
        4. Objective review
      4. Objective 3.4: Serialize, deserialize, and transmit data
        1. Sending data by using XMLHttpRequest
        2. Serializing and deserializing JSON data
        3. Serializing and deserializing binary data
        4. Objective summary
        5. Objective review
      5. Answers
        1. Objective 3.1: Thought experiment
        2. Objective 3.1: Review
        3. Objective 3.2: Thought experiment
        4. Objective 3.2: Review
        5. Objective 3.3: Thought experiment
        6. Objective 3.3: Review
        7. Objective 3.4: Thought experiment
        8. Objective 3.4: Review
    9. Chapter 4. Use CSS3 in applications
      1. Objective 4.1: Style HTML text properties
        1. Apply styles to text appearance
        2. Apply styles to text font
        3. Applying styles to text alignment, spacing, and indentation
        4. Applying styles to text hyphenation
        5. Applying styles for a text drop shadow
        6. Objective summary
        7. Objective review
      2. Objective 4.2: Style HTML box properties
        1. Applying styles to alter appearance attributes
        2. Applying styles to alter graphic effects
        3. Apply styles to establish and change an element’s position
        4. Objective summary
        5. Objective review
      3. Objective 4.3: Create a flexible content layout
        1. Implement a layout using a flexible box model
        2. Implementing a layout using multi-column
        3. Implementing a layout using position, floating, and exclusions
        4. Implementing a layout using grid alignment
        5. Implementing a layout using regions, grouping, and nesting
        6. Objective summary
        7. Objective review
      4. Objective 4.4: Create an animated and adaptive UI
        1. Animating objects by applying CSS transitions
        2. Applying 3-D and 2-D transformations
        3. Adjusting UI based on media queries
        4. Hiding or disabling controls
        5. Objective summary
        6. Objective review
      5. Objective 4.5: Find elements using CSS selectors and jQuery
        1. Defining element, style, and attribute selectors
        2. Choosing the correct selector to reference an element
        3. Finding elements by using pseudo-elements and pseudo-classes
        4. Objective summary
        5. Objective review
      6. Objective 4.6: Structure a CSS file by using CSS selectors
        1. Referencing elements correctly
        2. Implementing inheritance
        3. Overriding inheritance using !important
        4. Styling an element based on pseudo-elements and pseudo-classes
        5. Objective summary
        6. Objective review
      7. Answers
        1. Objective 4.1: Thought experiment
        2. Objective 4.1: Review
        3. Objective 4.2: Thought experiment
        4. Objective 4.2: Review
        5. Objective 4.3: Thought experiment
        6. Objective 4.3: Review
        7. Objective 4.4: Thought experiment
        8. Objective 4.4: Review
        9. Objective 4.5: Thought experiment
        10. Objective 4.5: Review
        11. Objective 4.6: Thought experiment
        12. Objective 4.6: Review
    10. Index
    11. About the author