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
More Relevant Posts
-
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
To view or add a comment, sign in
-
-
🚀 Day 81 of #100DaysOfCode Today I learned how to create object literals in JavaScript. An object literal lets you store related data as key-value pairs inside curly braces. For example: const car = { brand: "Toyota", year: 2020, color: "red" }; This way, you can easily organize, access, and update complex data as one unit. Object literals are foundational for structuring real-world information in your programs. #JavaScript #ObjectLiterals #Programming #100DaysOfCode
To view or add a comment, sign in
-
-
📘 Chapter 15: Arrays in JavaScript 💻 In this chapter, we explore one of the most essential concepts in JavaScript — the Array 🔢 Arrays allow us to store and manage multiple values in a single variable — making our code cleaner, faster, and more dynamic. ✨ What You’ll Learn: ✅ How to create and access arrays ✅ Add or remove elements with .push(), .pop(), .shift(), .unshift() ✅ Find the length of an array ✅ Loop through arrays using for and forEach() 🚀 Keep learning, keep coding! #JavaScript #WebDevelopment #Coding #Programming #FrontendDevelopment #LearnToCode #100DaysOfCode #CodeNewbie #SoftwareEngineer #Developers #TechCommunity #ArrayInJavaScript #WebDevJourney #CodingLife #JSRoadmap #FullStackDevelopment #TechLearning
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
-
⚡ 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
-
-
Count the Number of Digits - JavaScript Logic Simplified 👉 Day 24 / Day 93👈 👉 Find how many digits a number has — without converting it to a string? 1️⃣ Handle 0 as a special case — it has 1 digit. 2️⃣ Use Math.abs() to support negative numbers. 3️⃣ Repeatedly divide the number by 10 until it becomes 0, increasing the counter each time. 💡 Example: 👉 23453 → 2345 → 234 → 23 → 2 → 0 ✅ Total digits = 5 #JavaScript #CodingTips #WebDevelopment #FrontendDeveloper #LearnToCode #ProgrammingLogic #CleanCode #ProblemSolving #100DaysOfCode #TechCommunity #CodeNewbie #Algorithms
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
-
💻 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 26 – Understanding Scope, Closure & Higher-Order Functions in JavaScript Today I learned about three powerful concepts in JavaScript: Scope, Closure, and Higher-Order Functions. These concepts helped me understand how data access and function behavior actually work behind the scenes. The lecture was deeply insightful and covered ideas that are rarely explained this clearly. Thanks to Rohit Negi for the guidance. #coderArmy #JavaScript #WebDevelopment #Frontend #LearningInPublic #Programming #tech #coding #GrowthJourney
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