My first try of the new Web Animation API

placeholder

Recently, I (finally) found out the new Web Animation API, which can use JavaScript to create smooth animation just like CSS one, but with more features, like changing speed or play/pause/cancel animations. Developer can have more flexibilities to create different animations.

Note: The web animation API is still an experimental technology, not all browsers supported it. Don’t forget to add polyfill before use!

More …

How to create your instant form validation

placeholder

It is easy to use any libraries in JavaScript to add validations, however, have you ever wonder how the form validation works?

Let’s see how we can roll out our own form validations with error messages!

What we are going to create today: alt="Our form with validation"

More …