JavaScript Fundamental

JavaScript is a fun and flexible programming language. It’s one of the core technologies of web development and can be used on both the front-end and the back-end. Today I’m going to talk about some basic fundamental of JavaScript. So, without any further discussion let’s get started.

1. JavaScript Truthy and Falsy values.

Answer: Truthy and falsy values are those that return true or false when it encountered in Boolean context. Programmer often uses those values to compare with program input and generate the expected output.

The following six values are considered as falsy values:

React Beginner Guide

1.What is props in JSX?

Answer: Props is a special kind of keyword that actually stands for properties and used for doing a special task called passing data between components.

JSX props can be defined in several ways-

2.Why need JSX?

Answer: We use JSX to write HTML elements in JavaScript without using any createElement() and appendChild() methods we can place them in the DOM. We can also use JSX to converts HTML tags into react elements. It is not essential to use JSX, we actually use JSX to write…

JavaScript Essential Features

JavaScript is a lightweight, interpreted, object-oriented language with first-class functions, and is best known as the scripting language for Web pages, but it’s used in many non-browser environments as well. This language has some features that makes programmer ease. Here I am going to talk about some features of JavaScript.

Function: Function is a chunk of code designed for solving specific task. Function is only executing when it is called.

Function example:

output: 7

Function with default parameter values: Default parameter allows us to pass a default values into the function but…

JavaScript String

String: A series of characters together called string. String can be text inside double or singe quotes. JavaScript strings are immutable it means that if you process a string you will always get a string as output. Several string operation is available on modern JavaScript. Here I am going to discuss about some of those.

String example:

charAt() method: charAt() method returns the position of character which we are assign inside method.


Output: e

Length: length…

Rashadul Islam

A self-motivated, hardworking and creative web developer.

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