Sometimes, we want to select all child elements except the first with JavaScript. In this…
Month: April 2022
Sometimes, we want to get a JSON object’s key and value in JavaScript. In this…
Sometimes, we want to play looping audio with the HTML5 audio element and JavaScript. In…
Sometimes, we want to check if the array of objects have duplicate property values with…
Sometimes, we want to declare an empty two-dimensional array in JavaScript. In this article, we’ll…
Sometimes, we want to get a substring that comes after a separator with JavaScript. In…
Sometimes, we want to get an element by ID and set the value with JavaScript.…
Sometimes, we want to detect if an HTML5 video element is playing with JavaScript. In…
Sometimes, we want to test if a URL string is absolute or relative with JavaScript.…
Sometimes, we want to split a string once in our JavaScript code. In this article,…