Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Benjamin Semah
How to Use LocalStorage in JavaScript
In modern web development, having a way to persist data helps developers improve performance and create a better user experience. And using local storage is an effective way of persisting data in an application. In this article, you will learn what local storage is and how to use it in modern web applications. You will also learn the advantages of using local storage, as well as some of its limitations. Table of Contents What is Local Storage?
What is Strict Mode in JavaScript? Explained with Examples
If you are a JavaScript developer, you may come across the string "use strict" at the top of your JavaScript code. This means that JavaScript's strict mode is in use. But what does this mean, and why does it matter? In this article, you'll learn what it means to write JavaScript code in strict mode and how you can enable it. The article also covers some benefits of using strict mode and some examples that shows how it differs from regular JavaScript.
What are Falsy Values in JavaScript? Explained with Examples
In JavaScript, every value has a boolean equivalent. This means it can either be evaluated as true (truthy value) or false (falsy value) when used in a boolean context. But what is a boolean context? It's a situation where a boolean value is expected. Examples include if statements, logical operators, and so on. When you use a non-boolean value in a boolean context, JavaScript will convert the value to its boolean equivalent.
JavaScript Arrow Functions vs Regular Functions
In JavaScript, there are two main ways of writing functions. You can create functions using the regular function syntax. Or you can use the arrow function syntax. In this article, you will learn how to use both options. You'll also learn about the differences between the two and when it's appropriate to use each of them. Table of Contents Function Hoisting Regular Function Syntax vs Arrow Function Syntax To understand the difference between the two options, let's begin by looking at their syntax.
JS DOM Manipulation Best Practices - with Examples
In JavaScript, you can manipulate the content of a web page using the Document Object Model (DOM). But how do you write code that is readable, easy to maintain, and not prone to performance issues? That's what we'll cover in this article. I'll discuss some important best practices so that you can manipulate the DOM with confidence.
The JavaScript DOM Manipulation Handbook
DOM Manipulation is one of the most exciting topics to learn about in JavaScript. This is because one of JavaScript's main uses is to make web pages interactive – and the Document Object Model (DOM) plays a major role in this. The DOM is a powerful tool that allows you to interact with and manipulate the elements on a web page. And this handbook will help you understanding and become confident in working with it. You will begin by learning what the DOM is and what you can do with it.
How to Use Template Literals in JavaScript
Template literals are a feature in JavaScript that were introduced with ES6. They gives you a more flexible and maintainable way of working with strings in JavaScript. By the end of this article, you will know how to use template literals. You will learn the syntax, the benefits, and some use cases. And you will also learn about an even more powerful feature called tagged template literals. Table of Contents Tagged Template Literals Conclusion What are Template Literals?
innerHTML vs innerText vs textContent - What's the Difference?
In HTML, innerHTML, innerText, and textContent are properties of the DOM (Document Object Model). They allow you to read and update the content of HTML elements. But they have different behaviours in terms of the content they include and how they handle HTML markup. By the end of this article, you will know the differences between these three properties and when you should each one. Table of Contents Conclusion First, I'll explain how these three properties work.
HTMLCollection vs NodeList - What's the Difference?
If you're a web developer or have worked with the DOM (Document Object Model), you may have come across the terms HTMLCollection and NodeList before. But what do they mean and when do you need to use them? By the end of this article, you will learn all about HTMLCollection and NodeList. Table of Contents What is an HTMLCollection? What is a NodeList? Which one should you use? Conclusion Let's get started! An HTMLCollection is a list of DOM elements that match certain criteria.
The CSS Flexbox Handbook - Complete Guide with Practical Examples
Flexbox is a useful tool for creating beautiful and responsive layouts for web pages. In this guide, you will learn everything you need to know to start using CSS Flexbox like a pro. We'll also go through loads of practice examples. This is a perfect resource for you if you are a beginner web developer. It'll also be useful if you're an experienced developer who wants to brush up on your responsive web design skills. Table of Contents What is Flexbox?
16 Best Data Structures and Algorithms Books to Read in 2024
Whether you’re a student, have an interview coming up, or you’re intellectually curious, data structures and algorithms books are a fantastic way to learn this useful area of computer science. In general, data structures and algorithms allow software engineers to store and process data in a more efficient manner. This is essential when processing data at scale, as the right algorithm or data structure can generate significant memory and time savings (yes, we’re talking Big-O!).
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Benjamin
Contact Benjamin, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack