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
Discovering the Power of JavaScript Functions
More Relevant Posts
-
Day 39 of Cohort 2.0 🚀 Today’s session was all about diving into Objects in JavaScript and applying concepts through practical problem-solving. 💻 Here’s what I learned today: 🔹 Objects in JavaScript → Store data in key-value pairs for structured and organized coding 🔹 Accessing & Modifying Object Properties → Learn how to read, update, and delete data dynamically 🔹 Functions + Arrays + Objects Practice → Strengthened logic by solving real-world coding problems combining all three concepts ✨ Key takeaway: Understanding how to work with objects and integrating them with arrays and functions makes JavaScript code more powerful, modular, and efficient. Sheryians Coding School #sheryianscodingschool #cohort2 #learningjourney #dailyupdates #JavaScript #WebDevelopment #Frontend
To view or add a comment, sign in
-
-
DAY 25 — JavaScript Deep Dive Begins Sheryians Coding School | Sheryians AI School Before today’s live class, I completed the task given by Bhaiya, which was to watch a 1-hour video on “JS Learn Everything” on YouTube. From that video, I learned about the history and introduction of JavaScript, keywords, variables (var, let, const), and their scopes (global, block, function). I also understood key concepts like reassignment, re-declaration, temporal dead zone, and hoisting — which form the base of how JavaScript actually works behind the scenes. ⚙️ In today’s live session, we continued our journey with: 📘 Introduction to JS 💡 Why it’s important 🤔 What can it do for you 🖥️ Using script tag & running JS in browser 🧠 Variables and alerts (var, let, const, prompt, console) It was a great start to understanding how JavaScript brings life and interactivity to web pages! 🌐 Mentor: Harsh Vandana Sharma #Day25 #Cohort2_0 #JavaScript #FrontendDevelopment #WebDevelopment #SheryiansCodingSchool #LearningJourney #CodingLife
To view or add a comment, sign in
-
-
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
-
-
Today, I learned that in JavaScript, NaN is a number that isn't equal to itself, typeof null is an object (don't ask), and can someone please explain to me how 0.1 + 0.2 decided to become 0.30000000000000004? 🤔 Also, addition concatenates strings, while subtraction actually calculates! 🤦♂️ Everything from a prompt() is a string, so be careful with those data types! Successfully conquered yesterday's tasks in Sheryians Coding School Cohort 2.0. The code runs, but the confusion is real. 😂 #JavaScript #JSDev #CodingLife #SheryiansCohort2 #WebDevelopment
To view or add a comment, sign in
-
Day 30 of Cohort 2.0 🚀 Today’s wrap-up was all about diving deeper into JavaScript fundamentals and understanding how the language handles operations and logic. 💻 Here’s what I learned today: 🔹 Arithmetic Operators → Perform basic mathematical operations 🔹 Assignment Operators → Assign and update variable values 🔹 Comparison Operators → Compare values and return true/false 🔹 Logical Operators → Combine multiple conditions 🔹 Ternary Operator → Write shorter conditional statements 🔹 Type Checking (typeof) → Identify data types in JavaScript 🔹 String Operations → Work with and manipulate text 🔹 Nullish Coalescing (??) → Provide default values when dealing with null or undefined 🔹 Optional Chaining (?.) → Safely access nested object properties 🔹 Hoisting → Understand how variable and function declarations are processed before execution ✨ Key takeaway: Learning these core concepts builds a strong foundation for writing clean, efficient, and bug-free JavaScript code. Sheryians Coding School #sheryianscodingschool #cohort2 #learningjourney #dailyupdates #JavaScript #WebDevelopment #Frontend
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
-
-
🚀 Day 31 of Cohort 2.0 (Sheryians Coding School) Today’s session was all about solving an assignment on Basic Operators & Hoisting in JavaScript, and it helped me deeply understand how JavaScript actually executes code behind the scenes. But today’s key learning takeaways were :- Hoisting in JavaScript This part was the highlight of the class - understanding how JavaScript moves declarations to the top before code execution. Learnings: • Functions are hoisted fully You can call them even before they’re defined. • Function expressions(functions that are stored in variables) are NOT hoisted fully If you create a function using a variable, you’ll get an error when calling it before initialization. • What gets hoisted? → var, let, const, and functions • What gets hoisted fully? → var (initialized as undefined) and functions • What does NOT get hoisted fully? → let, const, and function expressions (they throw errors like “Cannot access before initialization” or “is not a function”). Understanding hoisting is essential for debugging JS behavior, it’s what separates a beginner from someone who understands how the JS engine really works. Stay tuned 🔥 ❤️ #WebDevelopment #Cohort2 #SheriansCodingSchool #LearningInPublic #HTML #CSS #FrontendDevelopment #BackendDevelopment #FullStackDevelopment #LearningJourney
To view or add a comment, sign in
-
🚀 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
To view or add a comment, sign in
-
-
Day 42 & 43 | Industry Insights + Deep JavaScript Practice 🔥👨💻 Day 42 | Cohort 2.0 Journey Had an amazing discussion with Harsh Vandana Sharma from Sheryians Coding School about: 💡 Latest updates in the IT industry 💡 Skills that actually matter 💡 How to stay consistent in tech 💡 How to grow as a developer in 2025 These sessions always reset the mindset and boost clarity. Day 43 | Cohort 2.0 Journey Session was fully packed with pure JavaScript concepts through practical examples by Harsh Vandana Sharma from Sheryians Coding School: ✔️ Higher Order Functions ✔️ Pure vs Impure functions ✔️ Function destructuring ✔️ Normal vs Arrow functions (this difference!) ✔️ map(), filter(), reduce() ✔️ some() & every() ✔️ Object.freeze() & Object.seal() ✔️ Optional chaining ✔️ Nested objects ✔️ Real logic-building questions From HOFs to object behaviour to array transformations got really connected with lot of core concepts together. #Day42 #Day43 #JavaScript #SheryiansCodingSchool #LearningJourney #ProblemSolving #HOF #ArrowFunctions #FrontendDevelopment #Cohort2
To view or add a comment, sign in
-
🚀 Day 37 - JavaScript Functions: The Real SUPERPOWER of JS! 💪 🎯 Cohort 2.0 - Sheryians Coding School If JavaScript is the body… 👉 Functions are definitely the 💖 (Heart) Today’s class unlocked some major clarity 👇 ✨ What I learned today: 🔹 Required, Default & Destructured Parameters 🔹 Positional, Spread & Default Arguments 🔹 Nested Functions + how Scope Chain works 🔹 IIFE - executes the moment it appears 😎 🔹 Arrow Functions → cleaner, modern syntax 🔹 Higher-Order + Callback + First-Class Functions ➡ These make JavaScript dynamic, modular & powerful ⚡ 📌 Key Takeaway: “Master functions → Master JavaScript!” ✅ Feeling more confident every single day 💻🚀 Thanks to Harsh Vandana Sharma, Satwik Raj, and the entire Sheryians Coding School Community for making learning this fun 🙌 👇 Tell me in the comments: Which JS concept confused you the most but now makes sense? 🤔 #JavaScript #Functions #WebDevelopment #CodingJourney #Cohort2_0 #LearningByDoing #SheryiansCodingSchool #FrontendDevelopment
To view or add a comment, sign in
-
Explore related topics
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