🚀 Day 35 - Deep Dive into Loops | JavaScript Today’s session took our JavaScript journey to the next level! We explored advanced looping concepts through Level-2 problem-solving exercises, combining for, while, and user interactions with prompt(). 💡 Key Learnings: 🔹 Strengthened logical thinking through real-world problems. 🔹 Broke down complex tasks into smaller, manageable steps. 🔹 Wrote dynamic code that interacts with user input. 🔹 Used loops and conditionals to generate specific outputs and patterns. 🧠 Harsh Bhaiya guided us to approach each challenge strategically first understanding the problem, visualizing loop flow, and then crafting efficient solutions. His advice reminded us that true learning happens when we struggle, reason, and solve independently. Each question solved today added to my confidence and made me appreciate how loops truly power logic in programming. Feeling proud, prepared, and excited to take on even tougher challenges ahead! 💪 📚 Student at: Sheryians Coding School #JavaScript #WebDevelopment #CodingJourney #LearningEveryday #SheryiansCodingSchool #ProblemSolving
"Mastering Loops in JavaScript with Sheryians Coding School"
More Relevant Posts
-
Day 35 of #100DaysOfCode – Functions, Recursion & Do-While Loop in JavaScript Today’s learning focused on some of the most important programming fundamentals in JavaScript: Key Learnings: Do-While Loop → Understanding how it executes the block at least once before checking the condition Functions in JavaScript → Structure, reusability, and clean code Arguments vs Parameters → How data is passed and handled Rest Parameters → Efficient way to work with variable number of inputs Recursion → Calling functions within themselves to solve repeating subproblems Hoisting → Variable Hoisting — behavior differences between var, let, and const Function Hoisting — how JavaScript moves function declarations to the top during execution Takeaway: Functions and recursion unlock powerful logic possibilities, and understanding hoisting helps avoid unexpected bugs. These concepts form the backbone of writing optimized and predictable JavaScript code. A big thanks to Harsh Vandana Sharma from Sheryians Coding School and Sheryians Coding School Community for making function mechanics and hoisting concepts easy to understand with practical examples. #100DaysOfCode #JavaScript #Functions #Recursion #WebDevelopment #CodingJourney #Frontend
To view or add a comment, sign in
-
-
Day 33 — Loops & Conditions Practice | 2.0 Job-Ready AI-Powered Cohor Sheryians Coding School🚀 Today was all about hands-on coding with JavaScript loops & conditionals. Practiced real logic-building exercises like: ✅ Print numbers 1 to 10 ✅ Print even numbers using loops + condition ✅ Print numbers 10 to 1 (reverse loop) ✅ Print "YES" 5 times using a loop ✅ Ask a number → check positive or negative ✅ Ask user's age → check voting eligibility ✅ Multiplication table of 5 using loop ✅ Understand & handle edge cases with if-else The more I practice these logic patterns, the more comfortable I get with problem-solving in JavaScript 💪 #JavaScript #WebDevelopment #Frontend #CodingPractice #SheryiansCodingSchool #100DaysOfCode #DeveloperJourney
To view or add a comment, sign in
-
-
🚀 Day 29 of My COHORT 2.0 Development Journey, Sheryians Coding School Topic: Completing JS Assignment + Primitive vs Reference Types Today’s class was focused on finishing the JavaScript assignment from Day 28, which covered console methods, alerts, prompts, string operations, variables, and more. Working through each task helped strengthen my JS fundamentals with real examples. Then we moved to an essential concept in JavaScript: 🔍 Primitive vs Reference Types: 📚 Primitive Types ➡️ Stored directly in memory as values ➡️ Immutable ➡️ Copied by value Includes: string, number, boolean, undefined, null, bigint, symbol Example: let a = 10; let b = a; // b is a copy 📚 Reference Types ➡️ Stored as memory references ➡️Mutable ➡️Copied by reference Includes: object, array, function Example: let obj1 = { name: "Harsh" }; let obj2 = obj1; // same memory obj2.name = "Sheryians"; 🧠 Key Takeaway: Understanding how JavaScript stores and copies data is mandatory for avoiding bugs, managing memory, and writing predictable logic. Today really clarified value vs reference behavior in depth. #JavaScript #Cohort2 #FrontendDevelopment #WebDevelopment #CodingJourney #DataTypes #SheriyansCodingSchool #SarthakSharma
To view or add a comment, sign in
-
-
I used to think functions were just a simple way to wrap code. I was wrong—they're the key to writing truly clean, reusable code. Following up on my last post about my practice landing page (two weeks ago!), I spent the past few weeks diving deep into JavaScript functions. My biggest moment? Function Scope! It’s basically a protective bubble. Any variables defined inside the function stay locked inside. This focus on isolation is huge for building reliable code and is a core part of the DRY (Don't Repeat Yourself) principle. Learning functions feels like unlocking the real power of JavaScript. Excited to dive into objects next! What was the first JavaScript concept that truly made you go, "Aha!"? Sheryians Coding School #JavaScript #WebDevelopment #CodingJourney #Functions #FrontendDev
To view or add a comment, sign in
-
-
Day 6 of #30DaysOfJavaScript: Unlocking the Power of Array Reduction by Building My Own! 🚀 Today’s challenge took me under the hood of one of JavaScript’s most versatile methods—the .reduce() function. Instead of relying on the built-in version, I crafted a custom reducer that processes an array sequentially to accumulate a final result from an initial value. Here’s a glimpse of the solution I created: What stood out today: The elegance of breaking down complex operations into simpler, reusable steps using higher-order functions. Deepened my understanding of how accumulator patterns work in JavaScript and other programming languages. A fresh appreciation for common built-in functions that hide these powerful mechanics behind simple calls. This hands-on experience is a big step forward in mastering JavaScript fundamentals and improving my problem-solving skills. Looking forward to sharing more coding adventures and growing with this community! If you’re also on this journey, feel free to connect and exchange insights. #JavaScript #CodeNewbie #WebDevelopment #LeetCode #AlgorithmPractice #Programming #ContinuousLearning
To view or add a comment, sign in
-
Day 39 | Cohort 2.0 Journey Deep Dive into JavaScript Functions & Parameters ⚙️🧠 6th Nov, 2025 was one of those power-packed learning day full of concepts that truly define how JavaScript works behind the scenes by Harsh Vandana Sharma from Sheryians Coding School. 📘 Topics Covered: 🔹 Function Parameters — including default, rest, and destructured ones 🔹 Arguments in JS — positional, default & spread 🔹 Variable & Function Hoisting — how JS lifts declarations before execution 🔹 Classic & Nested Functions — organizing logic within logic 🔹 Scope Chain — how JS searches for variables in different scopes 🔹 IIFE (Immediately Invoked Function Expressions) — running functions instantly 🔹 Types of Functions: → Arrow & Fat Arrow Functions → Anonymous Functions → Higher-Order & Callback Functions → First-Class Functions #Day39 #JavaScript #Functions #Hoisting #Callbacks #ArrowFunctions #FrontendDevelopment #LearningJourney #Cohort2 #SheryiansCodingSchool
To view or add a comment, sign in
-
✨ Day 26 – Cohort 2.0 at Sheryians Coding School 🚀 Today, we officially began our JavaScript coding journey with Harsh Vandana Sharma, and it was the perfect start to understanding how the web truly comes alive through logic and interactivity. 💻 Key learnings: ▪️ Understood what JavaScript is and why it’s a core part of modern web development. ▪️ Learned how to connect JS with HTML using the <script> tag. ▪️ Explored how JavaScript runs inside the browser environment. ▪️ Practiced variables (var, let, const) and how they differ in scope and reassignments. ▪️ Worked with console, prompt, and alert to interact with users. ▪️ Discovered strings and tried out methods like slice(), split(), replace(), and includes(). ▪️ Used template literals for cleaner and more readable code. #Day26 #SheryiansCodingSchool #Cohort2 #JavaScript #FrontendDevelopment #WebDevelopment #CodingJourney #HarshVandanaSharma #Programming #LearningJourney #TechEducation #Consistency #DeveloperMindset
To view or add a comment, sign in
-
-
🚀 Day 38 — Cohort 2.0 of Web development with Sheryians Coding School Today I explored some core JavaScript fundamentals that every developer should understand deeply. 🧠 Topics I covered: 🔹 Pure vs Impure Functions — Learned how pure functions always produce the same output for the same input and have no side effects, while impure functions can behave differently depending on external factors. 🔹 Closures — Understood how a function can access variables from its parent scope even after the parent has finished executing. Closures are the backbone of many advanced JS concepts. 🔹 Arrays & Their Methods — Practiced using array methods to add, remove, and manipulate data efficiently. Also explored how the spread operator helps clone and merge arrays easily. 🔹 Objects & Nested Objects — Discovered how objects organize data as key-value pairs and how nesting allows us to represent structured, real-world data more effectively. 💡 Each concept makes me more confident in writing cleaner, smarter, and more logical JavaScript code. Excited to keep building my foundation stronger every day! #Day38 #JavaScript #WebDevelopment #DSA #SheryiansCodingSchool #LearningJourney #FrontendDeveloper #GenAI #100DaysOfCode Harsh Vandana Sharma Sheryians Coding School Community
To view or add a comment, sign in
-
🚀 Day 38 | Deep Dive into Advanced JavaScript | Sheryians Coding School 💻✨ Today’s session took JavaScript to the next level - packed with concepts that truly sharpened both my logic and problem-solving skills! 💡 🔍 Explored Topics: 🔹 Functions → anonymous, higher-order, callback, first-class, pure & impure functions 🔹 Closures & Scoping Rules → mastering how variables and functions interact across scopes 🔹 Arrays → powerful methods like push(), pop(), slice(), filter(), map(), reduce(), and more 🔹 Objects → creating, updating, deleting, and working with nested structures Each concept added a new layer to my JavaScript understanding - seeing how these fundamentals shape real-world web apps was fascinating! ⚡ Every session at Sheryians makes me more confident in writing clean, efficient code. 💪🔥 #Day38 #JavaScript #FrontendDevelopment #WebDevelopment #Cohort2 #LearningJourney #CodingPractice #Closures #HigherOrderFunctions #SheryiansCodingSchool
To view or add a comment, sign in
-
-
🚀 Day 4 | 30-Day Coding Challenge – Educative.io Today’s problem: Find the single non-duplicate element in a sorted array. At first, I explored the simple O(n) approaches — 🔹 Using a Set to track duplicates (O(n) time + O(n) space) 🔹 Summing unique vs. total values and finding the difference (O(n) time) 🔹 Linear scan comparing curr and next (O(n) time, O(1) space) All worked… but the goal was O(log n) time and O(1) space. Then it clicked 💡 — since the array is sorted, every pair of equal numbers appears side-by-side. Before the unique element, pairs start at even indices; after it, they start at odd indices. Using this pattern with binary search, I halved the search space each step: if nums[mid] == nums[mid+1] → move right else move left. Every challenge so far is sharpening how I reason about patterns and constraints rather than just syntax. #Day4 #30DaysOfCode #Educative #JavaScript #BinarySearch #ProblemSolving #DSA #LearningInPublic
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