John Au-YeungManipulating Dates with Day.js — Get the Start or End of a Unit of TimeDay.js is a JavaScript library that lets us manipulate dates in our apps.·2 min read·8 hours ago----
John Au-YeunginJavaScript in Plain EnglishHow to Disable the Submit Button on Form Submission with JavaScript and jQuery?Sometimes, we want to disable submit button on form submission with JavaScript.·2 min read·3 days ago----
John Au-YeunginJavaScript in Plain EnglishManipulating Dates with Day.js — Add or Subtract a Given Amount of TimeDay.js is a JavaScript library that lets us manipulate dates in our apps.·2 min read·May 11, 2024----
John Au-YeunginJavaScript in Plain EnglishHow to Detect if an HTML5 Video Element is Playing with JavaScript?Sometimes, we want to detect if an HTML5 video element is playing with JavaScript.·2 min read·May 9, 2024--1--1
John Au-YeunginJavaScript in Plain EnglishManipulating Dates with Day.js — Minimum Between Multiple Dates and Set Different Date ValuesDay.js is a JavaScript library that lets us manipulate dates in our apps.·2 min read·May 4, 2024----
John Au-YeunginJavaScript in Plain EnglishHow to Get a Substring that Comes After a Separator with JavaScript?Sometimes, we want to get a substring that comes after a separator with JavaScript.·2 min read·May 2, 2024----
John Au-YeunginJavaScript in Plain EnglishManipulating Dates with Day.js — Set the Year of a Date and Get Max Values Between Multiple DatesDay.js is a JavaScript library that lets us manipulate dates in our apps.·2 min read·Apr 27, 2024----
John Au-YeunginJavaScript in Plain EnglishHow to Get an Element by ID and Set the Value with JavaScript?Sometimes, we want to get an element by ID and set the value with JavaScript.·2 min read·Apr 24, 2024----
John Au-YeunginJavaScript in Plain EnglishManipulating Dates with Day.js — Set ISO Day of the Week and Day of the YearDay.js is a JavaScript library that lets us manipulate dates in our apps.·2 min read·Apr 20, 2024----
John Au-YeunginJavaScript in Plain EnglishHow to Declare an Empty Two-Dimensional Array in JavaScript?Sometimes, we want to declare an empty two-dimensional array in JavaScript.·2 min read·Apr 17, 2024--1--1