Free Courses For You to Learn AIOpenAI introduced a long-form question-answering artificial intelligence (AI) called ChatGPT that answers complex questions conversationally. It is a revolutionary technology because it is trained to learn what humans mean when they ask a question. A...Jan 19, 2023·2 min read
Adding a Leading Zero in JavaScriptAt work, I recently ran into a scenario where we were capturing a user's date of birth (DOB). This information is collected in 3 fields day, month, and year. If your DOB is January 7, 1962, people were inputting 1 for the month, 7 for the day, and 19...Jan 12, 2023·1 min read
How to Merge Objects in JavaScriptAn object is frequently used to store data. Sometimes you end up with multiple data objects that you need to combine their contents. In this article, I will show you several ways to merge objects in JavaScript. Format of an Object An Object is a coll...Jan 11, 2023·3 min read
Console.trace in JavaScriptIn yesterday's article, I showed you two ways to format your output to the console in JavaScript. If you have not read it, check it out here. Today I wanted to show you another console command: console.trace(). console.trace() The console.trace() met...Jan 10, 2023·1 min read
Formatting output to the consoleIf you have been a programmer for more than a day, then you have used a console.log to display data. You may want to see the value of data while your programming running or you may be trying to troubleshoot a problem. Sometimes the data displayed in ...Jan 9, 2023·2 min read
Grid to list toggle using CSS GridIn this article, I will show you how to create a toggle to display items in a grid from a list. This will be using basic JavaScript skills with no external code or libraries. We will be using CSS Grid. What We Will Be Creating How to Create Our Star...Jan 6, 2023·4 min read
3 Ways To Remove Duplicates in an Array with JavaScriptSometimes you have an array of data and you want to remove all duplicates from the array. In this article, I will show you three ways in which you can do this. 1) Remove duplicates using forEach and includes The Array includes() method determines whe...Jan 6, 2023·2 min read