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
More Relevant Posts
-
Day 32 — Loops & Conditional Logic in JavaScript | 2.0 Job-Ready AI-Powered Cohort Sheryians Coding School 🚀 Today was all about building strong control-flow logic in JavaScript: 🟡 Truthy & Falsy Values Falsy → 0, "", null, NaN, undefined, false, document.all Everything else is Truthy ✅ 🧠 Conditional Statements if, else, if-else, else-if switch Ternary Operator for compact logic 🔁 Loops for loop basics & patterns ⛔ Loop Control Statements break — exit loop continue — skip to next iteration Understanding these deeply helps write cleaner, efficient control flow and decision-making logic in JS 💡 #JavaScript #WebDevelopment #Frontend #ControlFlow #SheryiansCodingSchool #DeveloperJourney
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 36 | Cohort 2.0 Journey Yesterday was focused on solving logical JavaScript questions by Harsh Vandana Sharma from Sheryians Coding School the kind that really test how well you understand concepts, not just syntax. What I practiced today: 🔹 Applying loops, conditionals & operators together 🔹 Thinking like a developer, not just a coder These kinds of challenges don’t just improve JS they improve how you think 🧩 Bit by bit, sharpening the logic that will reflect in future projects 🚀 #Day36 #JavaScript #LogicalThinking #ProblemSolving #CodingJourney #Cohort2 #SheryiansCodingSchool
To view or add a comment, sign in
-
🍁Day 37 — Cohort 2.0 Today’s class added more depth to how I approach JavaScript. We didn’t just use functions, We unpacked how they actually shape JavaScript. From parameters and arguments to IIFEs, callbacks, and higher-order functions, everything started making deeper sense. At some point, I realized functions aren’t just blocks of code; they’re how logic travels, how behavior connects. You see them in React hooks, async operations, everywhere once you know what to look for. One more piece of the JS puzzle, locked in. Sheryians Coding School #Cohort2 #JavaScript #LearningInPublic #WebDevelopment #CodeEveryday #FrontendJourney #SheryiansCodingSchool
To view or add a comment, sign in
-
-
🚀Day 32 of Cohort2.0 Today's class was about Control Flow in JS with Harsh Vandana Sharma at Sheryians Coding School. I've learned: 1️⃣. If, else if and else conditions and how it works and their syntax. 2️⃣. Switch-case and break; statement. 3️⃣. Early Return Pattern. which helps the code to be shorten and more efficient and manageable. we also saw and solved some examples using what we've learned in the class. #responsiveness #responsivedesig #css #scss #html #Cohort2 #webdevelopment #Javascript
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
-
-
🚀Day 35 of Cohort2.0 Today's class was about deep dive in functions of JS with Harsh Vandana Sharma at Sheryians Coding School I've learned: 1️⃣. Types of parameters(required, destructured, rest, default) 2️⃣. Typea of arguments (Default, positional, spread) 3️⃣. Scope chain, Immediately invoked function expression(IIFE) 4️⃣. Types of functions (anonymous functions, nested functions, Higherorder functions, callback, first class) #responsiveness #responsivedesig #css #scss #html #Cohort2 #webdevelopment #Javascript
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 7 of Learning JavaScript from Sheryians Coding School Today, I have learned about loops, recursion, and functions. do...while: Executes the code inside the "do" block at least once and then checks the condition in "while". The loop continues based on the condition. Recursion: A function calling itself is known as recursion. It continues until a specific condition is met. Loop Control: continue: Skips the current iteration of the loop and moves to the next one. Functions: A function does not execute immediately; it runs only when called. A function can be called multiple times. Arguments: Used to access values that are passed when the function is called. Hoisting in Functions: Functions can be accessed or called even before they are declared. #JavaScript #WebDevelopment #CodingJourney #LearningWithSheryians #ProgrammingConcepts
To view or add a comment, sign in
-
🚀Day 28 of Cohort2.0 Today's class was about introduction of Javascript with The OG Harsh Vandana Sharma at Sheryians Coding School I've learned: 1️⃣. what is strings 2️⃣. Slice to slice up the strings 3️⃣. Template string (template literal ` `) 4️⃣. some more properties by which we can manipulate strings like Split, Replace, Include 5️⃣. what are statements(line of code whichdoesn't give any value) and expressions (code which provide a value). #responsiveness #responsivedesig #css #scss #html #Cohort2 #webdevelopment #Javascript
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
Hello I am from cohort 2