Looping Statements
Looping statements are used to execute the same block of code repeatedly as long as a specified condition is satisfied. Repetition — Allow the same block of code to execute multiple times without rew
A small dive into my life :D
Looping statements are used to execute the same block of code repeatedly as long as a specified condition is satisfied. Repetition — Allow the same block of code to execute multiple times without rew
Control statements are used to control the flow of execution of a program based on certain conditions. Decision-making — Programs can choose different actions based on input or situations (e.g., if a
Math is a built-in JavaScript object that provides a collection of properties and methods related to mathematical operations. Examples: console.log(Math.PI) // 3.141592653589793 console.log(Math.E) /
A String is a sequence of characters used to store text data. let name = "Rohan"; let city = "Bangalore"; Strings can be enclosed in "", '' or `` 👶 Creating strings For creating a string, new String
Type conversion is the process of changing a value from one datatype to another. Type Conversion: Explicitly converting a value to another datatype. Type Coercion: JavaScript automatically converts a
Operators are symbols used to execute certian operations represented by it. 🧮 Arithmetic operators Consider y = 5 Operator Example Result Description + x = y + 2 7 Addition - x = y - 2 3 Sub
Datatypes are the type of data a variable can store Primitive types Reference types 🧱 Primitive Types Type description Example Number Both integers and floating-point numbers (Number literal)
Variables are the containers for storing values or expressions They are used to store data temporarily in the computer Example section = "3U" console.log(section) ⚖️ Rules for js variables Case sens
The web is more than just text and images — it's interactive!From responsive buttons to dynamic applications, JavaScript brings websites to life. Alongside HTML and CSS, JavaScript is one of the core
