💻 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
More Relevant Posts
-
JavaScript Quirks Every Developer Should Know Understanding these "funny" behaviors isn't just entertaining it's essential for writing better code: - - Why [] == ![] is true (type coercion) - Why 0.1 + 0.2 ≠ 0.3 (floating-point precision) - Why sort() doesn't work as expected (alphabetical default) These quirks teach us valuable lessons about JavaScript's underlying mechanics. What JS behavior caught YOU off guard when you first started? Share your stories! #JavaScript #WebDevelopment #TechEducation #LearnToCode #Programming
To view or add a comment, sign in
-
🚀 Learning JavaScript: Practicing “for loops”! Today, I worked on different examples using for loops in JavaScript — a powerful tool for repeating tasks efficiently. Here’s what I explored 👇 💡 Tasks I completed: 1️⃣ Printed even numbers from 2 to 20 2️⃣ Printed odd numbers from 1 to 19 3️⃣ Calculated the square of numbers from 1 to 5 4️⃣ Found the sum of numbers from 1 to 10 5️⃣ Calculated the product of numbers from 1 to 5 6️⃣ Printed the cube of numbers from 1 to 5 7️⃣ Displayed numbers from -5 to 5 🧠 This exercise helped me understand how iteration, increment, and logical conditions work together in JavaScript loops. 🌱 Every small project like this helps strengthen my programming logic and problem-solving skills! #JavaScript #CodingJourney #ForLoop #WebDevelopment #100DaysOfCode #FrontendDevelopment #LearnToCode
To view or add a comment, sign in
-
🎯 Learning JavaScript Loops: While Loop Practice! Today, I practiced using while loops in JavaScript — one of the fundamental concepts in programming logic. Here’s what I built 👇 💡 Tasks I implemented: 1️⃣ Print numbers from 1 to 10 using a while loop. 2️⃣ Calculate the sum of numbers from 1 to 50. 3️⃣ Print numbers from 20 down to 1 in descending order. 4️⃣ Generate the multiplication table of 7 (from 1 × 7 to 10 × 7). 🧠 Each task helped me strengthen my understanding of loop conditions, increment/decrement operations, and logic flow in JavaScript. 🚀 Small steps like this make a big difference when learning to think like a developer. If you’re also learning JavaScript, try writing your own variations of these loops — it’s great practice! #JavaScript #WebDevelopment #CodingJourney #WhileLoop #LearnToCode #100DaysOfCode #FrontendDevelopment
To view or add a comment, sign in
-
Ever felt like JavaScript is secretly trolling you? 😅 Variables popping out of nowhere, functions remembering things they shouldn’t, and hoisting acting like a magician 🎩🐇 I just dropped a fun blog: 🧠 “Var, Let’s Go! JS Scopes & Closures” I broke down some of the most confusing JS concepts — Lexical Scope Function vs Block Scope Closures (with secret agents 🕵️♂️) Hoisting (aka JS’s magic trick) Explained with humor, analogies, and memes — because learning JS shouldn’t feel like debugging production code. 😬 📖 Read it here: https://lnkd.in/gtKXeQJu #JavaScript #WebDevelopment #CodingHumor #Programming #Beginners
To view or add a comment, sign in
-
-
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
-
-
👋 Hello everyone! Today I'd practiced and solved ✅ coding questions on Javascript concepts DOM Manipulations, functions and loops. In this practice I design Your Ordered Items Page by using Javascript DOM Manipulations. Using For...of loop iterate over the list get the each item and append it to the page. Using Function Expression removed the each item from the page. Key Takeaways: ✅ Designing Your Ordered Items Page using Javascript ✅ DOM Manipulations using Javascript ✅ Handling User Interactions using functions ✅ Removed the items using removeChild() method #Day4 of #30Daysofcodingchallenge #Javascript #coding #programming #NxtWave #CCBP
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
-
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
-
🚀 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
-
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