Animating with the JavaScript Web Animations API
Give your web animations super-powers by with the JavaScript Web Animations API
Description
This course teaches you how to animate on the Web using the JavaScript Web Animations API W3C standard.
You'll learn how to transfer what you already know how to do in CSS, into JavaScript and then add extra capabilities like pausing and playing animations, starting one animation half way through another. Combining different animations together and synchronising a number of animations. All things you just can't do presently with CSS alone.
We will start by re-making some basic CSS animations with the JavaScript Web Animations API, then once we get through the fundamentals, we will start making our project together — a interactive set of sequenced animations.
By the end of the course you should have a solid understanding of how to animate on the Web with the JavaScript Web Animations API.
What we will build
We will be building, from scratch, a multi-scene piece of interaction with just HTML, CSS and JavaScript and no external libraries. Instead of CSS we will use the JavaScript Web Animations API to handle our animations and learn about all the extra capabilities it provides over CSS alone.
Along the way, we will also look at how to setup a very simple local server that will live reload changes to our code as we work.
The code is free to download on GitHub and split into folders for each video; each one providing the code as it's left at the end of each video.
What you need
All you need to get started with this class is a text editor like Sublime Text or VS Code, a modern web browser and a tolerance for mediocre jokes.
What You Will Learn!
- Animating with JavaScript using the Web Animations API
- How to convert CSS animations to JavaScript
- How to create animation based interaction with JavaScript
Who Should Attend!
- Front-end Developers looking to create animations with JavaScript
- JavaScript developers looking to animate elements