When website users are asked to provide a lot of input, it is important to make sure that the data is not lost if something unexpected happens. One way to ensure this is to store the data somewhere (e.g. in the local storage), so that when the user leaves the page...Read more
Stack is a linear data structure of a LIFO (Last In - First Out) or FILO (First In - Last Out) type, which means that the last element added to the stack is also the first to be taken out. Think of a stack as a constrained array - you can only...Read more
In JavaScript, there are many data structures designed to solve common problems. Knowing them is a must for a good developer to be able to manipulate the data efficiently. Today we will learn about one of the most basic and popular data structures...Read more
Creating a website has never been easier than it is now. There is an enormous amount of tools available for building a website of varying complexity - from a small landing page to a huge web application that processes hundreds of thousands of...Read more
If you are using TypeScript, you might have noticed an Exclamation Mark (!) operator that does some kind of magic and makes your compiler ignore possible errors. Let's learn what the purpose of this operator is and how it can be a useful addition to...Read more
In mid April 2020, almost a year ago, I decided to start my programming blog mainly to expand my knowledge in some areas I felt I was lacking. The journey started with a little introduction of myself and the reasoning behind kicking off. After finishing the first post...Read more
Many developers use create-react-app to generate a boilerplate needed to quickly start developing a React application. It gives you the option to define Environment Variables is a special file named .env. All variables defined in...Read more
Forms play a crucial role in modern web development by providing a way to collect information from customers. Handling them well is a must to avoid losing data due to a silly validation mistake or bug in the code, which is not always...Read more
One of the essential things to understand when getting started with JavaScript is how to check if two values are equal. JavaScript provides three ways to do this: Abstract Equality Operator (==), Strict Equality Operator (===), and...Read more