🚀 What I Learned Today in JavaScript Today’s learning was focused on strengthening my core fundamentals and improving my logical thinking in JavaScript. 🔹 What I Learned: • Understanding the flow of if, else if, and else conditions • Difference between return and console.log() (and why functions return undefined) • Practical use of logical operators: &&, ||, ! • Using switch-case for handling multiple conditions efficiently • Implemented logic for real-world problems: Rock Paper Scissors game Login system (User vs Admin conditions) Age category checker 🔹 Challenges I Faced: • Confusion between return and console.log() • Understanding how multiple conditions execute (flow of control) • Handling edge cases while writing logic • Writing clean and structured conditional statements 🔹 How I Solved Them: • Practiced writing multiple small programs instead of just reading concepts • Broke problems into smaller steps and solved them one by one • Tested different inputs to understand behavior deeply • Focused on logic building instead of memorizing syntax #javascript #webdevelopment #codingjourney #100daysofcode #developer #learncoding #frontend #programming #logicbuilding
Strengthening JavaScript Fundamentals and Logical Thinking
More Relevant Posts
-
#Day7 Understanding Loops in JavaScript. I truly began to understand why they’re one of the most powerful concepts in programming. Loops are what turn static code into dynamic, intelligent systems. Whether you're processing user data, building animations, fetching API results, or running simulations, loops are doing the heavy lifting behind the scenes. Here are the types of loops listed in the diagram : => while Loop : It checks the condition before executing so if the condition is false from the start, the code never runs. => Do while loop : This is otherwise called the “optimistic” loop. It runs the code at least once before checking the condition. It is very useful for scenarios where you need user input or an initial action before validation. => For loop : This is my current favourite. Clean, readable, and perfect when you know the exact number of iterations or need control over the counter. Who else is currently learning or strengthening their JavaScript fundamentals? #M4ACELearningchallenge #LearningInPublic #JavaScript #WebDevelopment #CodingJourney
To view or add a comment, sign in
-
-
𝐃𝐚𝐲 𝟗/𝟏𝟓 𝐨𝐟 𝐦𝐲 𝐉𝐚𝐯𝐚𝐒𝐜𝐫𝐢𝐩𝐭 𝐉𝐨𝐮𝐫𝐧𝐞𝐲 🚀 Day 9… and today felt different. For the first time, I saw JavaScript actually changing something on the screen. That moment felt amazing. 💡 What I learned: DOM (Document Object Model) How JavaScript interacts with HTML getElementById() and querySelector() 🧠 What I understood: JavaScript is not just logic… It can control what users see on a webpage. For example: Click a button → text changes That’s JavaScript in action. At first, I was confused about how JS connects with HTML… But when I tried it myself, it finally clicked. 📌 My biggest takeaway: Seeing your code work on screen hits different. This is where things start to feel real. Still learning… Still exploring… See you on Day 10 🚀 #JavaScript #CodingJourney #LearningInPublic #Day9 #DOM #WebDevelopment #Consistency #Programming
To view or add a comment, sign in
-
-
Many people do not struggle with JavaScript because of syntax. They struggle because they never really understand how programs work. You can learn functions, objects, and even build small features. But when things get slightly complex, it becomes difficult to trace what is happening and why. That is where the gap lies. Learn JavaScript from Scratch by Sanjay Vyas focuses on building that understanding from the ground up. In this course, you will learn to: • Understand how JavaScript actually works using code visualization techniques • Build strong fundamentals across objects, arrays, functions, and asynchronous behavior • Apply concepts by creating your own web app step by step With 40+ years of teaching experience, the focus is not just on writing code, but on thinking through it. Explore the course here: https://lnkd.in/grNMMXek #JavaScript #Programming #WebDevelopment #LearnToCode
To view or add a comment, sign in
-
-
🚀 Building Strong Foundations in JavaScript 💻✨ ✨Continuing my journey of improving core JavaScript skills through hands-on coding 👇 🔹 Loops Practice ✅ Printed numbers from 1–50 using: • for loop • while loop • do...while loop 🔹 Logic Building ✅ Generated multiplication table dynamically using user input 🔹 Iteration Techniques ✅ Used for...of for arrays and for...in for objects 🔹 Functions Practice ✅ Built a function to check Prime or Non-Prime numbers ✅ Implemented a Callback Function to calculate square of a number ✅ Practiced IIFE (Immediately Invoked Function Expression) to print today’s date 💡 Key Learnings: • Better understanding of loops and iteration • Clear idea of callback & higher-order functions • Debugged a real issue with IIFE and semicolons 😄 📌 Step by step, improving logic and confidence in JavaScript! #JavaScript #CodingJourney #LearningByDoing #FrontendDeveloper #WebDevelopment #KeepGrowing 🚀
To view or add a comment, sign in
-
Most people “learn” JavaScript. Few actually understand it. After completing “Namaste JavaScript” by Akshay Saini 🚀, I realised : 👉 Hoisting isn’t magic 👉 Closures aren’t confusing 👉 The Event Loop isn’t scary It’s all about understanding the engine behind the code. This course helped me shift from: ❌ Copying code ➡️ Thinking like a developer Now the real journey begins — building, failing, and improving. If you're learning JavaScript, don’t rush. Depth > speed. #JavaScript #Programming #LearningInPublic #WebDev #AkshaySaini
To view or add a comment, sign in
-
-
🚀 Day 36 of My Full Stack Development Journey Today I explored one of the most important concepts in JavaScript — Functions & Scope ⚡ Here’s what I learned today: 🔹 Functions – Reusable blocks of code 🔹 Functions with Arguments – Passing data into functions 🔹 Return Keyword – Getting values back from functions 🔹 Scope – Understanding where variables can be accessed 🔹 Global Scope, Function Scope, Block Scope 🔹 Lexical Scope – How functions access variables from parent scope 🔹 Solved 6 practice questions + 6 assignment questions 💻 These concepts helped me understand how to write cleaner, reusable, and more structured code. Step by step, building strong programming fundamentals 🚀 #FullStackJourney #WebDevelopment #JavaScript #LearningInPublic #100DaysOfCode #CodingJourney
To view or add a comment, sign in
-
🚀 Day 11/30 of My JavaScript Challenge Solved LeetCode 2623 - Memoize ✅ 💡 What I Learned Today: 🔹 Caching results to optimize repeated function calls 🔹 Using closures to preserve cache data 🔹 Handling multiple arguments with JSON.stringify() 🔹 Using apply() to pass arguments dynamically 🧠 Approach: Created a wrapper function that stores previously computed results in a cache object. If the same arguments are passed again, it returns the cached result instead of executing the function again. ⏱️ Complexity: ⚡ Time: O(1) for cached calls, depends on function for new calls 💾 Space: O(n) for storing cached results 🎥 Watch my full explanation on YouTube: 👉 https://lnkd.in/gqyRQpGT Every challenge is sharpening my JavaScript fundamentals step by step. 🔥 #JavaScript #LeetCode #CodingChallenge #WebDevelopment #FrontendDeveloper #ProblemSolving #YouTube #Programming
To view or add a comment, sign in
-
-
I recently started diving deeper into JavaScript, and honestly… one concept completely changed how I see code execution 🤯 At first, I used to just write code and expect it to “run.” But then I discovered what actually happens behind the scenes 👇 JavaScript doesn’t just execute code directly. It goes through a process: 🔹 First, it creates a Global Execution Context 🔹 Then comes the Memory Phase (where variables get stored as undefined and functions are fully saved) 🔹 After that, the Execution Phase runs code line by line 🔹 And everything is managed using a Call Stack (LIFO — Last In, First Out) Understanding this made things like hoisting, function calls, and even bugs feel way less random. Now when I write code, I don’t just see syntax — I can actually visualize what the JavaScript engine is doing step by step 🧠⚡ Still learning, but this was one of those “aha” moments that made everything clearer. If you're learning JavaScript, don’t skip this part — it’s a game changer 🚀 #JavaScript #WebDevelopment #LearningJourney #Frontend #Programming #Developers
To view or add a comment, sign in
-
-
We've been learning JavaScript, const, let, if/else, functions, objects, arrays… the works. Monday we hit Arrays and Objects and honestly? Half the class (myself included) left that session with our eyes turning up and down 👀 We went from our regular: console.log("your value"), simple, clean, no stress. To suddenly needing to access specific keys like: console.log(fruit[3]) console.log(person.name) Wahala! 😂 And don't even get me started on .shift() and .unshift(), you'd think shift means shift and unshift means return it back to its former state right? WRONG. JavaScript doesn't care about your logic 😂. The literal meaning is not always as it seems out here. It felt like a whole new language inside the language. So our tutor did something real instead of pushing forward, we repeated the class today to make sure everyone wasn't as confused as the last session before moving on. That's the kind of learning environment TechCrush is building. Nobody gets left behind. Slow and steady, but we will get there 💪 #TechCrush #JavaScript #FrontendDevelopment #LearningInPublic #Tech4africanscholars
To view or add a comment, sign in
-
Day 13 of My JavaScript Journey 🚀 Today’s lesson was different and very important. I learned how to effectively use tools like Google and Stack Overflow to solve problems, and I was introduced to debugging. Debugging is the process of identifying and fixing errors (bugs) in code. The process can be summarized as: • Find the problem • Fix the issue • Prevent it from happening again I also learned that bugs are a normal part of programming every developer deals with them. One key insight: Being a good developer is not about knowing everything, but about knowing how to find solutions. Key takeaway: Problem-solving and debugging are core skills in programming. I’m documenting my journey daily as I grow in JavaScript. #JavaScript #WebDevelopment #LearningInPublic #100DaysOfCode
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