Duration: 5 Days
In this course, you will be introduced to HTML5, CSS3, and JavaScript and gain basic HTML5/CSS3/JavaScript programming skills. This course is an entry point into both the web application and Windows Store apps training paths. You will focus on using HTML5/CSS3/JavaScript to implement programming logic, define and use variables, perform looping and branching, develop user interfaces, capture and validate user input, store data, and create well-structured applications.
This course uses Visual Studio 2012 running on Windows 8.
What You Will Learn
- Use Visual Studio 2012 to create and run a web application
- New features of HTML5
- Create and style HTML5 pages
- Add interactivity to an HTML5 page by using JavaScript
- Create HTML5 forms by using different input types and validate user input using HTML5 attributes and JavaScript code
- Send and receive data to and from a remote data source by using XMLHTTPRequest objects and jQuery AJAX operations
- Style HTML5 pages by using CSS3
- Create well-structured and easily-maintainable JavaScript code
- Use common HTML5 application programming interfaces (APIs) in interactive Web applications
- Create web applications that support offline operations
- Create HTML5 web pages that can adapt to different devices and form factors
- Add advanced graphics to an HTML5 page using Canvas elements and Scalable Vector Graphics
- Enhance the user experience by adding animations to an HTML5 page
- Use web sockets to send and receive data between a web application and a server
- Improve the responsiveness of a web application that performs long-running operations by using web worker processes
Audience
- Developers who have at least six months of professional experience and who are interested in developing applications using HTML5 with JavaScript and CSS3 (either Windows Store apps or IE10 apps for the web)
- Developers who have more than five years programming experience may find that portions of this training are fundamental in nature when presenting the syntax associated with certain programming tasks
Prerequistes
- Understanding of the basic HTML document structure:
- Experience using HTML tags to display text content
- Experience using HTML tags to display graphics
- Experience using HTML APIs
- Knowledge of common style HTML elements using CSS, including:
- Separating presentation from content
- Managing content flow
- Managing positioning of individual elements
- Managing content overflow
- Basic CSS styling
Course Outline
1. HTML and CSS
- HTML
- CSS
- Creating a Web Application Using Visual Studio 2012
2. Creating and Styling HTML5 Pages
3. JavaScript
- JavaScript Syntax
- Programming the HTML DOM with JavaScript
- jQuery
4. Creating Forms to Collect Data and Validate User Input
- Forms and Input Types
- Validating User Input Using HTML5 Attributes
- Validating User Input Using JavaScript
5. Communicating with a Remote Data Source
- Sending and Receiving Data by Using XMLHTTPRequest
- Sending and Receiving Data by Using jQuery AJAX Operations
6. Styling HTML5 Using CSS3
- Styling Text
- Styling Block Elements
- CSS3 Selectors
- Enhancing Graphical Effects Using CSS3
7. Creating Objects and Methods by Using JavaScript
- Writing Well-Structured JavaScript
- Creating Custom Objects
- Extending Objects
8. Creating Interactive Pages Using HTML5 APIs
- Interacting with Files
- Incorporating Multimedia
- Reacting to Browser Location and Context
- Debugging and Profiling a Web Application
9. Adding Offline Support to Web Applications
- Reading and Writing Data Locally
- Adding Offline Support Using the Application Cache
10. Implementing an Adaptive User Interface
- Creating a Print-Friendly Stylesheet
- Adapting Page Layout to Fit a Different Form Factor
11. Creating Advanced Graphics
- Creating Interactive Graphics Using Scalable Vector Graphics
- Programmatically Drawing Graphics Using a Canvas
12. Animating the User Interface
- Applying CSS Transitions
- Transforming Elements
- Applying CSS Key-Frame Animations
13. Implementing Real-Time Communications Using Web Sockets
- Web Sockets
- Sending and Receiving Data Using Web Sockets
14. Creating a Web Worker Process
- Web Workers
- Performing Asynchronous Processing Using aWeb Worker
Course Labs
Lab 1: Explore the Contoso Conference Application
- Walkthrough of the Contoso Conference Application
- Examine and Modify the Contoso Conference Application
Lab 2: Create and Style HTML5 Pages
- Create HTML5 Pages
- Style HTML5 Pages
Lab 3: Display Data and Handle Events by Using JavaScript
- Display Data Programmatically
- Handle Events
Lab 4: Create a Form and Validate User Input
- Create a Form and Validate User Input Using HTML5 Attributes
- Validate User Input Using JavaScript
Lab 5: Communicate with a Remote Data Source
- Retrieve Data
- Serialize and Transmit Data
- Refactore the Code Using jQuery Ajax Method
Lab 6: Style Text and Block Elements using CSS3
- Style the Navigation Bar
- Style the Page Header
- Style the About Page
Lab 7: Refine Code for Maintainability and Extensibility
- Inherit From Objects
- Refactor Code to Use Objects
Lab 8: Create Interactive Pages by Using HTML5 APIs
- Incorporate Video
- Incorporate Images
- Use the Geolocation API
Lab 9: Add Offline Support to a Web Application
- Implement the Application Cache
- Implement Local Storage
Lab 10: Implement an Adaptive User Interface
- Create a Print-Friendly Stylesheet
- Adapt Page Layout to Fit a Different Form Factor
Lab 11: Create Advanced Graphics
- Create anInteractive Venue Map Using Scalable Vector Graphics
- Create a Speaker Badge Using a Canvas Element
Lab 12: Animate User Interface Elements
- Apply Transitions to User Interface Elements
- Apply Key-Frame Animations
Lab 13: Implement Real-Time Communications Using Web Sockets
- Receive Data from Web Socket
- Send Data to a Web Socket
- Send Multiple Types of Messages To or From a Web Socket
Lab 14: Create a Web Worker Process
- Improve Responsiveness Using a Web Worker
- Provide User Feedback During a Long-Running Process