🚀 Building with JavaScript, not just learning it. After revisiting JavaScript Core concepts, I focused on strengthening my skills by building real projects using Vanilla JavaScript. This post showcases 10 JavaScript projects I’ve built so far, including calculators, utilities, and DOM-based applications. Each project helped me better understand logic building, event handling, and clean UI behavior. 🧠 What this journey reinforced for me: Strong fundamentals matter more than frameworks Practice beats passive learning Small projects compound into real confidence I’ll keep adding more projects as I continue growing toward full-stack development. Thanks for checking this out 😊 github: https://lnkd.in/gGkBycXa #JavaScript #FrontendDevelopment #WebDevelopment #VanillaJavaScript #LearningByBuilding #Projects #CodingJourney #SelfLearning #DeveloperJourney
Strengthening JavaScript skills with real projects
More Relevant Posts
-
🚀 Understanding the JavaScript Event Loop While learning JavaScript, one concept that really changed how I think about asynchronous code is the Event Loop. JavaScript is single-threaded, which means it can execute only one task at a time. But thanks to the Event Loop, it can still handle asynchronous operations like API calls, timers, and user interactions without blocking the main thread. Here’s the simple flow: 1️⃣ Code enters the Call Stack 2️⃣ Async tasks go to Web APIs 3️⃣ Their callbacks move to the Callback Queue 4️⃣ The Event Loop checks if the Call Stack is empty 5️⃣ Then it pushes the callback into the Call Stack for execution This mechanism is what allows JavaScript to remain non-blocking and highly efficient. Understanding the Event Loop helped me write better asynchronous code using Promises, async/await, and callbacks. If you're learning JavaScript, mastering the Event Loop is a must! 💡 #JavaScript #EventLoop #WebDevelopment #AsyncJavaScript #CodingJourney #FrontendDevelopment
To view or add a comment, sign in
-
-
🚀 Day 19 of My JavaScript Journey – The Event Loop Today I learned how JavaScript actually handles asynchronous code behind the scenes. 👉 The Event Loop This concept completely changed how I understand setTimeout, Promises, and async behavior. 💡 What I Learned JavaScript is single-threaded — it can do one thing at a time. But then how does it handle: setTimeout API calls Promises Async/Await That’s where the Event Loop comes in. 🧠 Key Concepts I Understood 🔹 Call Stack – Executes synchronous code 🔹 Web APIs – Handle async operations (like setTimeout, fetch) 🔹 Callback Queue – Stores completed async callbacks 🔹 Microtask Queue – Stores Promise callbacks 🔹 Event Loop – Moves tasks to the Call Stack when it’s empty 🔥 Important Realization Promises (microtasks) are executed before setTimeout (macrotasks). Understanding this helped me predict output order in tricky interview questions. 🎯 Why This Matters The Event Loop is the foundation of: Async JavaScript API handling Performance optimization Debugging tricky timing issues The more I learn, the more I realize that mastering JavaScript fundamentals is the key to becoming a strong frontend developer. Consistency > Speed 💪 On to Day 20 🚀 #JavaScript #FrontendDeveloper #EventLoop #WebDevelopment #LearningInPublic #100DaysOfCode
To view or add a comment, sign in
-
🧠 Ever wondered how JavaScript actually runs your code? Behind the scenes, JavaScript executes everything inside something called an Execution Context. Think of it as the environment where your code runs. 🔹 Types of Execution Context JavaScript mainly has two types: 1️⃣ Global Execution Context (GEC) Created when the JavaScript program starts. It: - Creates the global object - Sets the value of this - Stores global variables and functions - There is only one Global Execution Context. 2️⃣ Function Execution Context (FEC) Every time a function is called, JavaScript creates a new execution context. It handles: - Function parameters - Local variables - Inner functions Each function call gets its own context. 🔹 Two Phases of Execution Every execution context runs in two phases: 1️⃣ Memory Creation Phase JavaScript allocates memory for: - Variables - Functions (This is where hoisting happens) 2️⃣ Code Execution Phase Now JavaScript runs the code line by line and assigns values. 💡 Why This Matters Understanding execution context helps you understand: - Hoisting - Scope - Closures - Call Stack - Async JavaScript It’s one of the most important concepts in JavaScript. More deep JavaScript concepts coming soon 🚀 #JavaScript #ExecutionContext #Frontend #WebDevelopment #LearnJS #Programming #LearningInPublic
To view or add a comment, sign in
-
-
Today I explored one of the most confusing but fascinating concepts in JavaScript — The Event Loop. JavaScript is single-threaded, but it still handles asynchronous tasks like API calls, timers, and promises smoothly. The magic behind this is the Event Loop. Here’s the simple flow: 1️⃣ Call Stack – Executes synchronous code 2️⃣ Web APIs – Handles async tasks (setTimeout, fetch, DOM events) 3️⃣ Callback Queue / Microtask Queue – Stores callbacks waiting to execute 4️⃣ Event Loop – Moves tasks to the call stack when it’s empty 💡 Example: console.log("Start"); setTimeout(() => { console.log("Timeout"); }, 0); Promise.resolve().then(() => { console.log("Promise"); }); console.log("End"); 🧠 Output: Start End Promise Timeout Why? Because Promises go to the Microtask Queue which runs before the Callback Queue. ✨ Learning this helped me finally understand how JavaScript manages async behavior without multi-threading. Tomorrow I plan to explore another interesting JavaScript concept! Devendra Dhote Ritik Rajput #javascript #webdevelopment #frontenddeveloper #100DaysOfCode #learninginpublic #codingjourney #sheryianscodingschool
To view or add a comment, sign in
-
🚀 Day 6 of #30DaysOfJavaScript Today I built a Random Password Generator using JavaScript. This project generates a secure random password and also allows users to copy it easily. 🔹 Features ✔ Generate random strong password ✔ Copy password to clipboard ✔ Clean and simple UI 🛠 Tech Used HTML CSS JavaScript 🔗 Live Demo: https://lnkd.in/gvMGMfgr 🔗 GitHub Repository: https://lnkd.in/gxigBsYp I’m improving my JavaScript skills by building projects every day. More projects coming soon 🚀 #javascript #webdevelopment #frontenddevelopment #coding #100daysofcode
To view or add a comment, sign in
-
💡 Understanding the JavaScript Event Loop (Made Simple) When I started learning JavaScript, I was confused about how setTimeout, button clicks, and API calls worked — especially since JavaScript is single-threaded. This visual really helped me understand what happens behind the scenes: 👉 1. Call Stack – Runs code line by line (synchronous code) 👉 2. Web APIs – Handles async tasks like timers and fetch requests 👉 3. Callback Queue – Stores completed async callbacks 👉 4. Event Loop – Moves callbacks to the stack when it’s empty 🔎 Simple Example: console.log("Start"); setTimeout(() => { console.log("Inside Timeout"); }, 0); console.log("End"); 👉 What do you think the output will be? The output is: Start End Inside Timeout Even though the timeout is set to 0 milliseconds, it doesn’t run immediately. Here’s why: 1️⃣ "Start" goes to the call stack → executes 2️⃣ setTimeout moves to Web APIs 3️⃣ "End" executes 4️⃣ The callback moves to the queue 5️⃣ The Event Loop waits until the stack is empty 6️⃣ Then it pushes "Inside Timeout" to the stack That’s the Event Loop in action 🚀 Understanding this concept made: ✅ Promises easier ✅ Async/Await clearer ✅ Debugging smoother If you're learning JavaScript, mastering the Event Loop is a big step forward. #JavaScript #WebDevelopment #BeginnerDeveloper #AsyncProgramming #FrontendDevelopment #mernstack #fullstack
To view or add a comment, sign in
-
-
🚀 Understanding How JavaScript Actually Runs Behind the Scenes Today in college, I learned something that completely changed how I look at JavaScript execution. We often write code like this: var x = 10, y = 20; function add(x, y) { var res = x + y; return res; } console.log(add(x, y)); But what actually happens inside the JavaScript Engine? Here’s the simplified breakdown: 🧠 Step 1: Creation Phase (Memory Phase) JS scans the entire code first Variables are allocated memory and initialized with undefined Functions are stored in memory with their complete body ⚙️ Step 2: Execution Phase (Code Phase) Code runs line by line Variables get actual values Function is invoked A new execution context is created The Call Stack manages everything Understanding: Execution Context Memory Creation Code Execution Call Stack …makes JavaScript feel much more logical instead of “magic”. The output is simple: 30 But the process behind it is powerful. 📚 Currently diving deeper into JavaScript fundamentals as part of my B.Tech journey. #JavaScript #WebDevelopment #Programming #LearningInPublic #ComputerScience #FrontendDevelopment
To view or add a comment, sign in
-
-
A few days ago while I was working on some small JavaScript projects, someone saw my screen and said something like: "Why are you building these tiny things? You should be building something bigger." I didn’t really argue or explain much in that moment. But the truth is simple: these "small" projects are intentional. It’s not as if I don’t know how to build bigger things, fetch APIs, or write more complex JavaScript applications. These small projects are deliberate — they’re about focusing on fundamentals, testing my understanding, and making sure my foundation is solid. This choice is intentional, not a limitation. Right now, I’m revisiting JavaScript fundamentals to see whether my understanding is still solid and to further strengthen the foundation in my brain. Building these mini projects gives me the chance to refresh key concepts like logic, loops, and conditions, while watching them come together to create something tangible and meaningful. Every solid structure starts with a strong base, and for me, that’s what these projects are about. Still learning. Still building. One step at a time. #JavaScript #LearningInPublic #WebDevelopment #BuildInPublic
To view or add a comment, sign in
-
🚀 Understanding Hoisting in JavaScript Many developers hear that JavaScript moves variables and functions to the top, but what actually happens behind the scenes? In JavaScript, hoisting occurs during the compilation phase, before the code executes. The JavaScript engine first scans the entire code and allocates memory for variables and functions. This means: • var variables are hoisted and initialized with undefined • let and const are also hoisted but remain in the Temporal Dead Zone (TDZ) until their declaration line is reached • Function declarations are fully hoisted, allowing them to be called before they appear in the code Example: console.log(a); var a = 10; Output: undefined Internally JavaScript treats it like this: var a; console.log(a); a = 10; ⚠️ Important: JavaScript does not physically move code to the top. During compilation the engine simply registers declarations in memory before execution begins. Understanding hoisting helps developers better grasp execution context, scope, and the JavaScript engine's behavior. #JavaScript #WebDevelopment #Frontend #Programming #Coding
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development
GitHub Repo: https://github.com/Jaisharan0003/javascript-projects