Day 34 -Strengthening Logic with Loops & Conditionals in JavaScript 🔁 Today’s session focused on building the foundation of programming logic mastering loops and conditionals to make code smarter and more dynamic. Here’s what I practiced today: 🔹 Printed numbers in both increasing and decreasing order 🔹 Filtered even numbers using conditional checks 🔹 Repeated words for pattern-based outputs 🔹 Checked even/odd numbers using loop logic 🔹 Took user input to detect positive or negative values 🔹 Created a small program to check voting eligibility based on age Each exercise helped sharpen my logical thinking and problem-solving skills step by step, getting closer to writing cleaner and more efficient code! 💪 #Day34 #JavaScript #WebDevelopment #CodingJourney #SheryiansCodingSchool #FrontendDeveloper #ProblemSolving
Mastering Loops & Conditionals in JavaScript with Exercises
More Relevant Posts
-
This session was all about making our JavaScript code think and decide the real start of programming logic We explored: 1. Operators - how JavaScript performs calculations, comparisons & logical checks 2. Type Casting - how data changes from one type to another (and how it can silently break logic 😅) 3. Loops - for, while, do-while to make our code repeat smartly 4. Conditional Statements - if, else, switch to make our code make decisions Students started realizing how programming is not about syntax… It’s about teaching the computer to think logically 🧠 I always say: “When you master loops and conditions, you stop memorizing code and start understanding logic.” Excited to see how my learners are growing day by day and building real logic foundations #JavaScript #MERN #FullStack #CodingBootcamp #ProgrammingLogic #LearnToCode #WebDevelopment #TrainerLife
To view or add a comment, sign in
-
-
⚡ Day 34 | Mastering Operators & Conditionals in JavaScript Today’s session (Lec-41) was packed with logic and power! 🔥 I explored how JavaScript makes decisions and performs calculations — the true backbone of programming. 💡 Key Highlights: ● Arithmetic, Comparison, Logical & Bitwise Operators ● Short-circuit evaluation & ternary conditions ● if, else if, and switch statements in real-world logic These concepts make code think — transforming simple scripts into intelligent, responsive programs. 🙏 Thanks to @Love for simplifying complex logic beautifully! ✅ Day 35 complete — 46 more to go 🚀 🔗 GitHub Repo: https://lnkd.in/dtdU9-zZ #JavaScript #WebDevelopment #Frontend #CodingJourney #LearnWithMe #Programming #LoveForCoding ❤️
To view or add a comment, sign in
-
🗓️ Day 21 of JS Series by Rohit Negi 📔 What I Learned: ✅ What a prototype is ✅ How the prototype chain works ✅ The concept of inheritance using prototypes ✅ How JavaScript can provide property and method suggestions even if they aren’t explicitly defined (because of the prototype chain) ✅ In JavaScript, almost every data type (except null and undefined) is derived from the Object type ✅ Learned the basics of OOP (Object-Oriented Programming) concepts in JavaScripttype (except null and undefined) is derived from the Object type. ✅ Learn Oops concept #JavaScript #WebDevelopment #LearnInPublic
To view or add a comment, sign in
-
-
Day 3 – JavaScript Loops Practice In this task, I practiced different types of JavaScript loops — for, while, do...while, and for...of — to understand how iteration works in programming. I applied loops to solve small problems like counting numbers, iterating over arrays, and displaying patterns in the console. This practice improved my logic-building skills, debugging techniques, and understanding of flow control in JavaScript. Key Learning Areas: Difference between for, while, and do...while loops Using loops with arrays and objects Avoiding infinite loops and understanding loop conditions Real-time testing using console.log() #JavaScript #WebDevelopment #FrontendLearning #CodingChallenge #Loops #CodingJourney #WomenInTech #100DaysOfCode
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
-
💻 Exploring JavaScript Operators and Functions! 🚀 Today I practiced different types of operators and functions in JavaScript, including: ✨ Arithmetic Operators ( + , - , * , % ) ✨ Logical Operators ( && , || , ! ) ✨ String Concatenation ✨ Custom Functions for addition, subtraction, multiplication, and division This helped me understand how JavaScript performs calculations, comparisons, and combines strings — all fundamental skills for any developer! 🧠 Every line of code teaches something new. #JavaScript #WebDevelopment #CodingJourney #LearnToCode #Programming #JSBasics
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 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 76 of #100DaysOfCode Today, I explored the fundamentals of Functional Programming in JavaScript — focusing on writing cleaner, more predictable, and testable code. Key takeaways: Pure Functions: Always return the same output for the same input and don’t modify anything outside themselves. Side Effects: Any interaction with the outside world (like modifying global variables or logging to console). Reducing side effects makes programs easier to maintain. Currying: Transforming a function with multiple arguments into a series of functions that each take a single argument. It allows for partial application, where you can preset certain parameters to create reusable, specialized functions. Functional programming promotes modular, reusable logic, helping you build code that’s both elegant and easier to reason about.
To view or add a comment, sign in
-
Tired of JavaScript fundamentals feeling fuzzy? 🤯 If concepts like Hoisting, Closures, and Prototypes slow you down, you need a clearer reference. I've distilled the core structure rules of the language into Cheat Sheet Part 1: JavaScript Static Core for developers. Quickly Master: - Scope & TDZ: Variable boundaries (let/const vs var). - Hoisting Logic: What the engine really moves. - Closures: How functions create private memory. - Prototypes: The true foundation of JS inheritance. Stop guessing, start coding with confidence. ➡️ View the attached PDF now to get your free copy! 💾 #JavaScript #WebDevelopment #CodingTips #Programming #CheatSheet
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