💻✨ 21 Days JavaScript Basics Challenge — Day 4 🚀 🫖 Learning from: Chai aur Code by Hitesh Choudhary 📘 Today’s Focus: 🔹 Strings & Numbers in JavaScript 🔹 Stack and Heap Memory 🧩 What I learned today: ⭐ How strings and numbers are stored and used in JavaScript ⭐ The difference between 𝐩𝐫𝐢𝐦𝐢𝐭𝐢𝐯𝐞 (𝐬𝐭𝐚𝐜𝐤) and 𝐧𝐨𝐧-𝐩𝐫𝐢𝐦𝐢𝐭𝐢𝐯𝐞 (𝐡𝐞𝐚𝐩) memory ⭐ Common string methods like: ➡️ .𝐭𝐨𝐔𝐩𝐩𝐞𝐫𝐂𝐚𝐬𝐞() .𝐭𝐨𝐋𝐨𝐰𝐞𝐫𝐂𝐚𝐬𝐞() .𝐬𝐥𝐢𝐜𝐞() .𝐬𝐮𝐛𝐬𝐭𝐫𝐢𝐧𝐠() .𝐭𝐫𝐢𝐦() .𝐫𝐞𝐩𝐥𝐚𝐜𝐞() ⭐ Common number methods like: ➡️ .𝐭𝐨𝐅𝐢𝐱𝐞𝐝() .𝐭𝐨𝐒𝐭𝐫𝐢𝐧𝐠() 𝐍𝐮𝐦𝐛𝐞𝐫() 𝐩𝐚𝐫𝐬𝐞𝐈𝐧𝐭() 𝐩𝐚𝐫𝐬𝐞𝐅𝐥𝐨𝐚𝐭() 💡 Key takeaway: ➡️ Stack memory stores simple values (like strings & numbers) ➡️ Heap memory stores complex values (like objects & arrays) 💾 Saved my notes and practice files on GitHub 📂 https://lnkd.in/g3wrwTTr credits : Abdul Hak 🤝 #JavaScript #ChaiAurCode #CodingJourney #21DaysChallenge #LearningInPublic #WebDevelopment #StackHeap #JSBasics
"Day 4 of JavaScript Basics Challenge: Strings, Numbers, Stack, Heap"
More Relevant Posts
-
💻✨ 21 Days JavaScript Basics Challenge — Day 6 🚀 🫖 Learning from: Chai aur Code by Hitesh Choudhary 📘 Today’s Focus: 🔹 Functions in JavaScript 🔹 The this Keyword 🔹 Control Flow & Loops 🧩 What I learned today: ⭐ How to create and call functions in JavaScript ➡️ Function Declaration, Expression, and Arrow Functions ⭐ The role of the this keyword — how its value changes based on context ⭐ Control flow statements like ➡️ if, else if, else, switch ⭐ Looping structures: ➡️ for, while, do...while, and for...of 💡 Key Takeaways: ➡️ Functions make code reusable and modular 🔁 ➡️ this behaves differently in regular vs arrow functions ⚙️ ➡️ Loops and conditionals control the logic flow of every program 🎯 💾 Saved today’s code as 07_functions_controlflow_loops.js on GitHub 📂 #JavaScript #ChaiAurCode #CodingJourney #21DaysChallenge #LearningInPublic #WebDevelopment #CodeNewbie #JSBasics #Loops #Functions
To view or add a comment, sign in
-
Leveling Up on Day 2 of JavaScript! 📈 We dove headfirst into the essentials today, moving from the why to the how of writing clean JavaScript. A huge shoutout to Harsh Bhaiya for breaking down complex ideas into simple, actionable steps! What I Learned & Practiced: The Essentials: How to get started, why JS is important, and how to link it using the <script> tag. Variable Declarations: Establishing best practices with let and const for better scope management. Browser Toolkit: Mastering console.log for debugging and using prompt/alert for basic user communication. Data Handling: Practicing essential String methods (slice, split, replace, includes)—these are critical for manipulating data from APIs or user inputs! The momentum is real! Excited to keep building on this strong base. #Day2 #JavaScript #JSFundamentals #WebDevelopment #CodingJourney #HarshBhaiya Sheryians Coding School Sheryians Coding School Community
To view or add a comment, sign in
-
-
I'm back with Day 2 of my JavaScript deep dive! 💻 Today's focus is on mastering Data Types and the Type System—the area where many subtle bugs in JS originate. This set of questions is key to understanding how JavaScript really works: Primitive vs. Reference data types (Why does changing one object change another?) Dynamic Typed Language (What this means for type checks) Truthy and Falsy (Essential for conditional logic) Quirks and Type Coercion (The "gotchas" every JS developer must know!) Mastering this ensures you can write predictable and robust code. I'm grateful to Sheryians Coding School, Cohort 2.0, for the guidance through these critical topics! What's the trickiest JavaScript coercion quirk you've run into? Share your experience below! 👇 Connect with me: My GitHub: https://lnkd.in/d7zWUeDG My X: https://lnkd.in/dn3yZDYY My Facebook: https://lnkd.in/dV3uHhZY #JavaScript #CodingFundamentals #DataTypes #TypeSystem #TypeCoercion #SheryiansCodingSchool
To view or add a comment, sign in
-
-
🎯 Started learning Fetch API in JavaScript! Yesterday was our intro class, where we learned how to get data from an API using the fetch() method and display it on a webpage. I built a small example that shows product data from the DummyJSON API — it was so cool to see live data appear on the screen using just HTML, CSS, and JS! 😄 🔗 [https://lnkd.in/gQeRNGXk] #JavaScript #WebDevelopment #LearningJourney #FrontendDevelopment #FetchAPI #JSBasics #CodingInPublic#Manoj Kumar Reddy Parlapalli#10000 Coders
To view or add a comment, sign in
-
🚀 Day 80 of #100DaysOfCode Today I learned about object literals in JavaScript. Object literals are a simple way to store data as key-value pairs inside curly braces. This makes it easy to organize related information and lets you access values using property names. Object literals are great for creating flexible and readable code. #JavaScript #ObjectLiterals #Learning #100DaysOfCode
To view or add a comment, sign in
-
-
🚀 New Video in our DSA in JavaScript Series! In this video, we continue our Stack chapter 📚 — and solve two very popular stack problems in JavaScript 💻 You’ll learn step-by-step how to: ✅ Reverse a String using Stack ✅ Check for Balanced Parentheses (Brackets) Both are beginner-friendly but super important problems to understand how LIFO (Last In, First Out) works in real coding examples ⚙️ We’ll go through the full logic + code explanation and dry run everything inside VS Code 👇 💡 You’ll clearly understand: How Stack helps in Reversal & Matching problems Real use of push() and pop() How LIFO principle solves both questions Step-by-step dry run examples 🎥 Watch here → https://lnkd.in/etXYgrSp 📌 Watch the complete DSA in JavaScript playlist here: https://lnkd.in/g2qrGaSH 📂 Download the PPT for this topic here: https://lnkd.in/eejEhC3j #dsa #dsainjavascript #javascript #stack #datastructures #codingtutorial #dsaforbeginners #jdcodebase #javascriptdsa #stacktutorial
Stack Problems Part-1 in JavaScript | DSA Explained with Example | JDCodebase
https://www.youtube.com/
To view or add a comment, sign in
-
#Day37 Complete Of #MERNSTACK Course with CoderArmy & Rohit Negi 🚀 Today’s Learning: Understanding JavaScript’s this Keyword, Call, Apply, and Bind! Today I deepened my understanding of one of JavaScript’s most powerful — yet sometimes confusing — concepts: the this keyword 🔍 Here’s what I learned: - this refers to the object that’s executing the current function. - call() allows us to invoke a function with a specific this value and arguments passed individually. - apply() is similar, but arguments are passed as an array. - bind() creates a new function with a fixed this value, without immediately invoking it. These methods are super useful when reusing functions across different objects or managing context in callbacks and event handlers. 💡 🔸 Next up: I’ll be exploring arrow functions and how they handle this differently! #DefenseChallenge #JavaScript #WebDevelopment #LearningInPublic #FrontendDevelopment #100DaysOfCode
To view or add a comment, sign in
-
-
🚀Day 3 of My JavaScript Learning Journey Today I learned about something that looks simple but actually forms the backbone of how JavaScript handles variables — var, let, and const. Here’s what I understood 👇 🔹var → The old-school way. It’s function-scoped and can be redeclared or updated easily (sometimes too easily — which can cause bugs). 🔹let → The modern and safer option. It’s block-scoped and can be updated but not redeclared in the same scope. 🔹const → As the name says, it’s constant. Once assigned, its value cannot be changed or redeclared. Perfect for things that stay the same. 💡 My takeaway: Use let when the value might change, and const for everything else. Forget var — it belongs in history books now. 😅 Small concept, big impact. These little details are what make JavaScript more predictable and cleaner when we start writing real-world code. ➡️ The error in the image is because I have used the same name for variable in the code again. ➡️ I have used that name again by commenting the previous one. #JavaScript #WebDevelopment #LearningJourney #Frontend
To view or add a comment, sign in
-
-
🚀 Day 11 of My 30 Days of JavaScript Journey ✅ Challenge: Memoize (LeetCode #2623) The task was to create a memoize(fn) function that caches results so that repeated calls with the same inputs return instantly from cache — without re-executing the original function. This helps improve performance when dealing with expensive computations like fibonacci or factorial, and even simple operations like sum when called repeatedly. 💻 Language Used: JavaScript ❓ Problem Link: https://lnkd.in/gnHmbPih 💡 Solution: https://lnkd.in/gGJZjYY9 🧠 Concept Highlighted: Memoization is a powerful optimization technique that uses caching to avoid repeating calculations. It strengthens understanding of closures, function arguments handling, and performance-oriented JavaScript. #JavaScript #LeetCode #30DaysOfCode #CodingChallenge #WebDevelopment #FrontendDevelopment #Memoization #PerformanceOptimization #LearningEveryday #ProblemSolving
To view or add a comment, sign in
-
🎯 Day 33 - Learning Loops in JavaScript Today's session was all about understanding how loops make our code more efficient and powerful by reducing repetition and improving logic flow. 💡 Key Learnings: for loop - runs code for a fixed number of times. while loop - continues as long as the condition is true. do...while loop - executes at least once before checking the condition. for...of loop - iterates over arrays and strings. for...in loop - iterates through object properties. Each loop serves a unique purpose, and together they make JavaScript more dynamic and versatile. Excited to keep exploring and sharpening my logical thinking every single day! 🚀 #Day33 #JavaScript #WebDevelopment #CodingJourney #FrontendDevelopment #SheryiansCodingSchool #LearningNeverStops
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
🫡🫡