Author: Pankaj Bisht

Secret of falsy value

falsy_value

As we know true and false are related to boolean data type.┬áZero, empty string, undefined, null, NaN are falsy values. All non-empty things and true are Truthy values. But going to deep inside into falsy value. We need…

Read More »

Javascript conditional operator

conditions

If, else and switch are conditional statement or operators in javascript. Conditional statement changes the flow of the program according to test cases. So if the block contains test expression inside the parenthesis. if the test expression is…

Read More »

Type detection

type_detection

Type detection It is a way by which we can identify the type of data. We know that data type can be three type. So if we are working on data sometime we need to identify datatype of…

Read More »

CSS – Position

positioning

To understand CSS position we need to understand all HTML element bind with a force due to this reason they follow a pattern. But using CSS we can change that pattern. Elements have a position value of static…

Read More »

Javascript Operators

operators

Operators An Operator is a symbol used for a specific task. That task may be related to math or logical operation. Operators work on operands. var sum = 2 + 3; Here 2, 3 are operands and +…

Read More »

Variables and data types in javascript

data-type

Variables are named memory location that holds a different – different type of value. Whereas It is a classification of data which tells the compiler or interpreter how the programmer intends to use the data. In javascript, we…

Read More »

HTML – Elements

elements

In HTML, Elements are the foundation of every real-world entity. Likewise, it plays a big role on the web. In the web, we have three types of element. Block level Inline Level Mixed Level ( Block + Inline…

Read More »