html5

JavaScript Array.from() (NodeList and arguments)

In this example, we'll see how to use the Array.from() method to convert array-like and iterable objects to JavaScript Arrays.

querySelector, querySelectorAll and forEach By Example

In this example, we'll see how to use the querySelector() method, the querySelectorAll() method and forEach() to iterate over a NodeList object.

HTML5 History API

The HTML5 History API allows you to control the browser history from JavaScript. For example, you can navigate the history stack and set the URL of the address bar dynamically...