
Think before you reach for that div
Using semantic HTML elements has several benefits over using plain divs.

Does your company block ChatGPT or GitHub Copilot? Do you have security or trust concerns sending your code to a third party AI service? You might not know this, but you can run a large language model (LLM) locally on your computer, and even integrat...

In this article, we'll look at some weird quirks with JavaScript arrays to learn a little more about how they work under the hood. An array is a collection or list of values. It could hold just strings: const names = ['Luke', 'Leia', 'Han']; Or a mi...

I took a more traditional path into tech, going to a 4-year university and getting a Computer Science degree (way back in 2004!). These days, it's no secret that there are many alternate paths to a software development job. The three main paths today...

Learn how to ensure your UI has enough contrast.

Promise chains You can create a chain of Promises by returning new Promises from a then handler. Here's a simple example that chains 3 promises together: Promise.resolve(1) .then(id => { console.log(`Success: ${id}`); return Promi...

The JSON.stringify and JSON.parse functions are handy for converting objects to JSON strings and back again. However, not all properties of an object are serializable. Functions, regular expressions, and Date objects are all examples of values that c...