Description
In this course, you will learn:
- How to include JavaScript code in your Web site or Web application, as well as how to debug it.
- How to use the DOM API to create interactive Web sites.
- How to use JavaScript to alter the CSS styles of HTML5 elements.
- How to handle HTML5 forms
- How to use the HTML5 canvas to create basic images and animations.
Syllabus:
1. Introduction to JavaScript
- JavaScript, HTML and CSS
- JavaScript overview
- Your first HTML/CSS/JS page
- Variables, values, functions, operators, and expressions
- Simple JavaScript examples to play with
2. Adding interactivity to HTML
- Conditional statements, loops and logical operators
- Functions and callbacks
- Handling events
- The DOM API
- Let's write a small game
3. Playing with HTML5
- Arrays and iterators
- HTML5 multimedia and JavaScript API
- Displaying a map with the Geolocation API
- Playing sound samples and music
4. Structuring data
- Objects, properties and methods
- Creating multiple objects
- Improving the small game with classes
5. Working with forms
- Built-in JavaScript objects
- HTML5 tables, forms and input fields
- The JSON notation
- Let's create a small application