📘 JavaScript Learning Journey – Day 10 Day 10 of my JavaScript learning journey 🚀 Today I focused on JavaScript objects and functions and understood how real-world data is handled in applications. What I practiced: Creating objects to represent real entities (like products) Passing objects as function parameters Using return to keep logic clean and reusable Applying conditional discount logic outside the function I also learned why functions should handle only business logic, while UI/output should be handled separately — an important step toward writing professional JavaScript. Sharing a few code snippets from today’s practice 👇 Learning step by step, fixing mistakes, and building strong fundamentals. #JavaScript #LearningInPublic #WebDevelopment #FromScratch #Objects #Functions
JavaScript Objects and Functions Mastery
More Relevant Posts
-
My JavaScript Learning Journey Focused on one of the most powerful parts of JavaScript: Functions & Array Methods Here’s what I learned : ✅ Function Fundamentals Understanding parameters, arguments, and how functions help create reusable code. ✅ Arrow Functions (ES6) A cleaner and modern way to write functions in JavaScript. ✅ Methods vs Functions Learning how methods are tied to objects like arrays and strings. ✅ Higher-Order Functions Functions that can take other functions as arguments or return them. ✅ Essential Array Methods • map() → Transform data • filter() → Select specific elements • reduce() → Convert an array into a single value These methods are widely used in modern JavaScript and React development, and mastering them makes code cleaner and more efficient. Consistency > Perfection. If you're also learning JavaScript, let's connect and grow together! 🚀 #JavaScript #WebDevelopment #CodingJourney #LearningInPublic #FullStackDeveloper #100DaysOfCode
To view or add a comment, sign in
-
-
🚀 Understanding Callback Hell & Promises in JavaScript While learning JavaScript, I explored one of the most confusing concepts for beginners — Callback Hell. 📌 Callback Hell happens when multiple asynchronous operations are nested inside each other, making the code: Hard to read Hard to debug Hard to maintain Example: Js Copy code getData(function(a){ getMoreData(a, function(b){ getEvenMoreData(b, function(c){ console.log(c); }); }); }); This pyramid structure is called the “Pyramid of Doom” 😅 ✅ Then I learned about Promises — a cleaner way to handle asynchronous operations. Js Copy code getData() .then(a => getMoreData(a)) .then(b => getEvenMoreData(b)) .then(c => console.log(c)) .catch(err => console.log(err)); ✨ Promises make code: More readable More structured Easier to handle errors Step by step improving my JavaScript fundamentals 💻🔥 #JavaScript #WebDevelopment #LearningInPublic #CodingJourney Vikas Kumar Pratyush Mishra Prakash Sakari Likitha S
To view or add a comment, sign in
-
Starting my JavaScript learning journey — sharing what I learn every day. 🚀 📅 JavaScript Learning Journey — Day 2 Continuing my journey, today I explored how JavaScript actually works behind the scenes. We often write JavaScript code, but understanding how it runs makes a huge difference in becoming a better developer. 🔎 How JavaScript Works JavaScript runs inside the browser, using something called a JavaScript Engine (like V8 in Chrome). This engine reads and executes our code line by line. 💡 Behind the scenes • The browser loads HTML & CSS • Then JavaScript is executed • JavaScript can modify HTML & CSS dynamically ⚙️ JavaScript Runtime includes: • Call Stack → executes code • Web APIs → handles async tasks • Callback Queue → manages async results 🧠 Simple Example console.log("Start"); setTimeout(() => { console.log("Hello from async"); }, 2000); console.log("End"); 👉 Output will be: Start End Hello from async 📌 Key Takeaways (Day 2) • JavaScript runs in the browser using an engine • It executes code line by line (single-threaded) • Async behavior is handled using Web APIs & Callback Queue This is Day 2 of my JavaScript learning series. Tomorrow I’ll dive into JavaScript setup & environment (Browser, VS Code, Node.js). #JavaScript #WebDevelopment #FrontendDeveloper #LearningInPublic #100DaysOfCode
To view or add a comment, sign in
-
Today’s Learning – JavaScript Array Methods Today I learned about Array Methods in JavaScript. Arrays are very powerful because they allow us to store multiple values in a single variable, and array methods help us work with that data easily. Some methods I practiced today: push() – adds a new element at the end of an array pop() – removes the last element from an array shift() – removes the first element unshift() – adds a new element at the beginning map() – creates a new array by transforming elements filter() – creates a new array with elements that match a condition forEach() – loops through each element in the array Learning these methods helps me write cleaner and shorter code in JavaScript. I am currently improving my JavaScript fundamentals step by step as part of my Frontend Developer learning journey. #JavaScript #WebDevelopment #FrontendDevelopment #CodingJourney
To view or add a comment, sign in
-
Starting my JavaScript learning journey — sharing what I learn every day. 🚀 📅 JavaScript Learning Journey — Day 1 Today I started learning JavaScript, one of the most popular programming languages used to make websites interactive and dynamic. While HTML provides the structure of a website and CSS handles the design, JavaScript adds functionality and interactivity. 🔎 What is JavaScript? JavaScript is a programming language that runs in the browser and allows developers to create dynamic behavior on websites. 💡 What can we do with JavaScript? • Handle user interactions (click, input, submit) • Update website content dynamically • Validate forms • Fetch data from APIs • Build interactive web applications 🧑💻 Simple Example console.log("Hello JavaScript"); This code prints "Hello JavaScript" in the browser console. 📌 Key Takeaways (Day 1) • What JavaScript is • Why JavaScript is important for web development • Where JavaScript is used This is Day 1 of my JavaScript learning series. Looking forward to sharing more as I continue learning. #JavaScript #WebDevelopment #FrontendDeveloper #LearningInPublic #100DaysOfCode
To view or add a comment, sign in
-
-
Starting my JavaScript learning journey — sharing what I learn every day. 🚀 📅 JavaScript Learning Journey — Day 4 Today I learned one of the most important fundamentals in JavaScript — Variables. Variables are used to store data so we can use and manipulate it later in our code. 🔎 What is a Variable? A variable is like a container that holds a value. 💡 Example: let name = "Redoan"; console.log(name); 🧠 Types of Variables in JavaScript There are 3 ways to declare variables: 1️⃣ var (Old way) var age = 20; 2️⃣ let (Modern & recommended) let city = "Dhaka"; 3️⃣ const (Constant value) const country = "Bangladesh"; ⚠️ Difference (Important) • "var" → can be re-declared & has function scope • "let" → can be updated but not re-declared • "const" → cannot be updated or re-declared 📌 Rules for naming variables • Cannot start with number • No spaces allowed • Use meaningful names (best practice) 📌 Key Takeaways (Day 4) • Variables store data • Use "let" and "const" in modern JavaScript • Avoid using "var" in most cases This is Day 4 of my JavaScript learning series. Next, I’ll explore Data Types in JavaScript. #JavaScript #WebDevelopment #FrontendDeveloper #LearningInPublic #100DaysOfCode #programinghero
To view or add a comment, sign in
-
⭐ Learning JavaScript by Building Projects Recently, I’ve been focusing on strengthening my JavaScript fundamentals, and I built a simple Bat Ball Stump game to practice core concepts. Instead of just watching tutorials, I wanted to apply what I learned in a small working project. Through this project, I practiced: 🔹 Variables and data types 🔹 Functions and function calls 🔹 Conditional statements (if–else logic) 🔹 Random number generation 🔹 Objects to manage score 🔹 DOM manipulation to update results dynamically 🔹 LocalStorage to persist data One interesting part was managing and updating the score object correctly and resetting it without breaking the logic — small bugs there taught me a lot about how JavaScript actually behaves. This project reminded me that mastering basics is powerful. Clean logic > complex code. Currently continuing to explore deeper concepts and building more small projects alongside.⭐ #JavaScript #WebDevelopment #LearningJourney #FrontendBasics #CodingPractice
To view or add a comment, sign in
-
Documenting My JavaScript Learning Journey While learning Web Development, I realized that the best way to truly understand a concept is to explain it to others. So I started writing simple blogs about the JavaScript concepts I’m learning. So far I’ve written guides on: 📌 Variables and Data Types in JavaScript 📌 Control Flow (if, else, switch) 📌 JavaScript Arrays 📌 Important Array Methods 📌 JavaScript Operators 📌 Understanding Objects in JavaScript 📌 The Magic of this(), call(), apply(), and bind() My goal is to break down concepts in a simple and beginner-friendly way while strengthening my own fundamentals. You can read them here: https://lnkd.in/gwFqXi8U More JavaScript concepts coming soon as I continue learning. #javascript #webdevelopment #learninginpublic Chai Aur Code Hitesh Choudhary Sir Piyush Garg sir Akash Kadlag Sir
To view or add a comment, sign in
-
-
JavaScript 20Days Challenge 🚀 Consistency continues! Today marks Day 3 of my 20-day JavaScript learning challenge, where I focus on learning JavaScript concepts and building small projects daily. 🎨 Day 3 Project: Random Background Colour Generator Today I built a simple but interactive Random Background Colour Generator using JavaScript. When the user clicks the button, the page background changes to a randomly generated color and displays the HEX color code on the screen. 💡 Concepts I practiced today: • Generating random values using Math.random() • Converting numbers to HEX color codes • DOM manipulation with querySelector() • Updating UI dynamically with innerText • Handling button click events This small project helped me understand how JavaScript can dynamically change styles and create interactive UI experiences. 📅 Day 3/20 completed — learning, building, and improving every day. #JavaScript #WebDevelopment #FrontendDevelopment #CodingJourney #BuildProjects #JS #Github #MernStack
To view or add a comment, sign in
-
Today I started learning JavaScript, the language that makes websites interactive and dynamic. Before learning JavaScript, websites were mostly static. With JavaScript, we can add functionality like form validation, dynamic content, animations, and much more. Some key concepts I learned today: Variables – Used to store data in JavaScript Example: let name = "Avesh"; • Data Types – JavaScript supports different types like: String, Number, Boolean, Null, Undefined, Object • Console.log() – Very useful for debugging and checking values in the browser console Example: console.log("Hello Developers!"); One thing I realized today: JavaScript is not just a programming language — it's the backbone of modern web applications. Excited to explore more concepts like functions, DOM manipulation If you’re also learning web development, feel free to connect and share your journey. Let’s grow together. @Sheryians Coding School @Sarthak Sharma @Devendra Dhote @Daneshwar Verma #JavaScript #FullStackDeveloper #WebDevelopment #CodingJourney #BCA
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