Hello and welcome! I'm a student on an exciting journey to learn JavaScript, and this repository is my personal diary where I document my progress, experiments, projects, and insights. Join me as I navigate the world of JavaScript, one topic at a time!
- Browse the folders organized by topic (Basics, Functions, DOM, etc.)
- Read the code examples with detailed comments
- Run the files in Node.js or a browser console
- Experiment & modify the code to deepen your understanding
# To run any JavaScript file:
node 01_Basics/01_variables.jsJavaScript/
βββ 01_Basics/
β βββ 00_test.js # Testing setup
β βββ 01_variables.js # let, const, var
β βββ 02_DataTypes.js # Primitives & objects
β βββ 03_conversionOperations.js # Type conversion
β βββ 04_comparision.js # Comparison operators
βββ README.md # You are here!
βββ π More folders coming soon...
JavaScript is an essential language for creating interactive websites and building modern web applications. As I learn, Iβm exploring everything from the basics of variables and functions to more dynamic topics like event handling and asynchronous programming. My goal is to build a solid foundation that will allow me to create fun projects and eventually contribute to real-world applications.
Master the core building blocks of JavaScript:
| Topic | Files | Status |
|---|---|---|
| Variables & Data Types | 01_variables.js, 02_DataTypes.js |
π In Progress |
| Operators & Conversion | 03_conversionOperations.js, 04_comparision.js |
π In Progress |
| Control Flow | Coming Soon | β³ Upcoming |
| Functions | Coming Soon | β³ Upcoming |
- Scope & Closures
- Object-Oriented Programming
- Array & String Methods
- Asynchronous JavaScript
- DOM & Events
- Modern JavaScript (ES6+)
Build your foundation with essential concepts:
-
Variables & Data Types
Understandinglet,const,varand working with different data types.
π Files:01_variables.js,02_DataTypes.js
π MDN: Data Types -
Type Conversion & Operations
Learn type conversion and arithmetic operations.
π Files:03_conversionOperations.js
π MDN: Type Coercion -
Comparison & Logical Operators
Master comparisons and boolean logic.
π Files:04_comparision.js
π MDN: Operators
-
Function Declarations & Expressions
Learn the different ways to define and use functions.
MDN: Functions -
Arrow Functions
Discover the concise syntax and benefits of arrow functions.
MDN: Arrow Functions -
Scope & Closures
Understand how scope works and explore the concept of closures.
MDN: Closures
-
DOM Manipulation
Learn how to select and modify HTML elements dynamically.
MDN: Introduction to the DOM -
Event Handling
Handle user interactions like clicks and key presses.
MDN: Introduction to Events
-
Template Literals, Destructuring & More
Dive into new features that make coding more intuitive and concise.
MDN: JavaScript Guide -
Modules
Learn how to split your code into manageable, reusable modules.
MDN: JavaScript Modules
- Callbacks, Promises, & Async/Await
Understand how to manage asynchronous operations.
MDN: Asynchronous JavaScript
Hereβs a simple example to get you started. This code shows a basic function and a loop:
// Greet the user by name
function greet(name) {
return `Hello, ${name}! Welcome to my JavaScript journey.`;
}
console.log(greet("Anup"));