John Au-YeungHow to Check if the Inputted Value is a Number or Letter with JavaScript?Sometimes, we want to check if the inputted value is a number or letter with JavaScript.2d ago2d ago
John Au-YeunginJavaScript in Plain EnglishHow to Get the Width of an Element in Pixels that has the Style CSS Property Set with % with…Sometimes, we want to get the width of an element in pixels that has the style CSS property set with % with JavaScript.6d ago6d ago
John Au-YeunginJavaScript in Plain EnglishHow to Get the Background Image URL of an Element Using JavaScript?Sometimes, we want to get the background image URL of an element using JavaScript.Jul 17Jul 17
John Au-YeunginJavaScript in Plain EnglishHow to Turn All the Keys of a JavaScript Object to Lower Case?Sometimes, we want to turn all the keys of a JavaScript object to lower case.Jul 13Jul 13
John Au-YeunginJavaScript in Plain EnglishHow to Check if an Element is a Div with JavaScript?Sometimes, we want to check if an element is a div with JavaScript.Jul 10Jul 10
John Au-YeunginJavaScript in Plain EnglishHow to Check if the DOM is Ready without Any JavaScript Framework or Library?Sometimes, we want to check if the DOM is ready without any JavaScript framework or library.Jul 6Jul 6
John Au-YeunginJavaScript in Plain EnglishHow to Check if a Year is a Leap Year in JavaScript?Sometimes, we want to check if a year is a leap year in JavaScript.Jul 3Jul 3
John Au-YeunginJavaScript in Plain EnglishHow to Delete Duplicate Elements From an Array with JavaScript?Sometimes, we want to delete duplicate elements from an array with JavaScript.Jun 29Jun 29
John Au-YeunginJavaScript in Plain EnglishManipulating Dates with Day.js — Calendar Time and Date-Time DifferenceDay.js is a JavaScript library that lets us manipulate dates in our apps.Jun 26Jun 26
John Au-YeunginJavaScript in Plain EnglishHow to Automatically Add Properties to an Object that is Undefined with JavaScript?Sometimes, we want to automatically add properties to an object that is undefined with JavaScript.Jun 222Jun 222