Photo by Tirza van Dijk on Unsplash

Null vs. Undefined

Before we move on to the main topic, let’s learn the basics of null and undefined.

Null: In a simple word, null means ‘nothing’. In JavaScript, the data type of null is an object. Null is something that is intentionally missing and treated as falsy for boolean operation. Look at this example below.

Undefined: If you declare a variable but forget to assign a value. Then the value will be undefined because the value didn’t define. So, the Undefined property indicates that is a variable's value is defined or not. The data type…


Photo by Artem Sapegin on Unsplash

Start Writing With React

You can create an Element directly using DOM API. To do that, you need to get the root element and set the inner HTML, that’s all. See the example below.

Or, you may use React’s API. We are going to follow this system in this article.

To do that, you need to add a React DOM Renderer. Inside that, you have to add two parameters. One of them is the React Create Element, and the other one is the HTML root element. Follow the code below.

Inside the…


Photo by Greg Rakozy on Unsplash

Hello everyone, today we will be discussing the different items in JavaScript. The points may significantly change. Please, have patience and read this article carefully. Normally, I am going to cover the most important items. They are the JavaScript comments, different syntaxes, coding styles, cross-browser testing, and much more. So without looking for anything. Let’s jump right in.

The “try…catch” syntax

If you want to build a complex web application, you should be familiar with the try…catch syntax. It will give a superpower to your web application. You can easily handle errors with this. Do you want to learn more about this? …


Photo by KOBU Agency on Unsplash

JavaScript has different kinds of Numbers and Math functions. Some of them are extremely important to know for every beginner JavaScript developer. We are going to learn some of them which are not only very useful but also very simple to understand. You might be using them for different mathematical solutions of code in real life. So, before we further any do. Let’s dive right in.

JavaScript Numbers Properties

JavaScript isNaN() Function

If you want to know whether a value is a number or not, you can check it so easily using JavaScript. The isNaN() function will determine whether a value is NaN (Not-a-Number) or not…

Asif Estiak

A Junior MERN Stack Web Developer. A talented web professional.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store