Web Application By Rayhan

  • Home
  • Web Application By Rayhan

Web Application By Rayhan Web Application

13/11/2025

Learn JavaScript
Lesson -2
Variable
What is variable
A variable is a named storage location in programming that holds data which can change during program ex*****on.
What Is a Variable?
Definition: A variable is a symbolic name associated with a value and whose associated value can change.
Purpose: It allows programmers to store, retrieve, and manipulate data dynamically throughout a program’s lifecycle.
Key Characteristics
Name (Identifier): The label you give to the variable (e.g., userName, score, favFruit).
Value: The actual data stored (e.g., "Mohammad", 42, 'apple').
Type: The kind of data it holds—like string, number, boolean, etc.
Scope: Determines where the variable can be accessed (e.g., local vs global).
Lifetime: How long the variable exists in memory during ex*****on.
Types of Variables
Local Variable: Declared inside a function or block; accessible only there.
Global Variable: Declared outside any function; accessible throughout the program.
Constant: A variable whose value cannot be changed once assigned.
Why Use Variables?
To make code dynamic and flexible.
To improve readability and maintainability.
To store user input, configuration, or intermediate results.
es5 var
es6 let, const
declaration: var a;
Initilization: var a=20;
reintilization: a=30;

13/11/2025

Learn JavaScript
Lesson-1

JavaScript is a dynamic programming language used to create interactive and responsive web pages.
It powers features like animations, form validation, real-time updates, and more.
What JavaScript Does
- Enhances interactivity: JavaScript lets you respond to user actions like clicks, scrolls, and keyboard input.
- Manipulates content: You can dynamically update HTML and CSS, such as showing/hiding elements or changing styles.
- Handles logic and data: JavaScript supports variables, functions, loops, and conditions to build complex behaviors.
- Communicates with servers: Using APIs and AJAX, JavaScript can fetch or send data without reloading the page.
- Runs on browsers and servers: While traditionally used in browsers, JavaScript also powers backend development via platforms like Node.js.

Key Features
- Multi-paradigm: Supports functional, object-oriented, and event-driven programming styles.
- Dynamic typing: Variables don’t require explicit type declarations.
- Garbage collection: Automatically manages memory allocation and cleanup.
- Lexical scoping: Scope is determined by the structure of the code.

Call now to connect with business.

django is more easy framework .
31/05/2022

django is more easy framework .

I like develop website by django and its makes me happy.
29/03/2022

I like develop website by django and its makes me happy.

29/03/2022

Address


Website

Alerts

Be the first to know and let us send you an email when Web Application By Rayhan posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

  • Want your business to be the top-listed Advertising & Marketing Company?

Share