Day 64 of My 9-Month Coding Challenge 🎯 💻 Day 64 Complete | Working with Promises in JavaScript ⚡ Consistency is the real key to learning programming. Every day I try to understand not just how code works, but why it works that way. Small progress every day leads to big results over time. 🚀 Today’s Focus: ✔ Understanding Promises in JavaScript ✔ Learning how asynchronous operations work ✔ Handling success and failure using .then() and .catch() ✔ Understanding how Promises help manage asynchronous tasks 📚 What I’m Learning: ✅ What a Promise is and why it is used in JavaScript ✅ The three states of a Promise: pending, fulfilled, and rejected ✅ How .then() handles successful results ✅ How .catch() handles errors in asynchronous operations Promises are a fundamental concept in modern JavaScript. They help manage asynchronous tasks like API calls, file operations, and network requests in a more structured way. Understanding Promises is essential before mastering async/await and building scalable applications. Learning and practicing through resources and guidance from Coding Ninjas. No shortcuts, just consistency. 🎯 Still learning. Still improving. Still consistent. 💯 #Day64 #9MonthChallenge #JavaScript #Promises #AsyncJavaScript #MERNStack #WebDevelopment #LearningInPublic
Understanding JavaScript Promises in 64 Days
More Relevant Posts
-
Day 65 of My 9-Month Coding Challenge 🎯 💻 Day 65 Complete | Deepening Understanding of Promises in JavaScript ⚡ Consistency is the real key to learning programming. Every day I try to understand not only how code works but also why it works that way. Small progress each day leads to significant results over time. 🚀 Today’s Focus: ✔ Practicing Promises in JavaScript ✔ Understanding asynchronous operations more clearly ✔ Handling success and failure using .then() and .catch() ✔ Exploring how Promises simplify asynchronous workflows 📚 What I’m Learning: ✅ What a Promise is and why it is used in JavaScript ✅ The three states of a Promise: pending, fulfilled, and rejected ✅ How .then() handles successful results ✅ How .catch() manages errors in asynchronous operations Promises are a fundamental concept in modern JavaScript. They help manage asynchronous tasks such as API calls, file operations, and network requests in a more structured and readable way. Understanding Promises is an important step before mastering async/await and building scalable applications. Learning and practicing through resources and guidance from Coding Ninjas. No shortcuts — just consistency. 🎯 Still learning. Still improving. Still consistent. 💯 #Day65 #9MonthChallenge #JavaScript #Promises #AsyncJavaScript #MERNStack #WebDevelopment #LearningInPublic
To view or add a comment, sign in
-
-
Day 67 of My 9-Month Coding Challenge 🎯 💻 Day 67 Complete | Exploring Async/Await in JavaScript ⚡ Consistency is the real key to improving programming skills. Every day I try to learn something new, practice it, and understand the logic behind how things actually work. Step by step, these small efforts build stronger knowledge. 🚀 Today’s Focus: ✔ Learning how async and await work in JavaScript ✔ Understanding how async/await simplifies asynchronous code ✔ Converting Promise-based code into async/await syntax ✔ Practicing error handling using try...catch 📚 What I’m Learning: ✅ How async functions always return a Promise ✅ How await pauses execution until a Promise resolves ✅ Writing cleaner and more readable asynchronous code ✅ Handling errors effectively with try...catch Async/Await makes asynchronous JavaScript easier to read and maintain compared to traditional Promise chains. It helps developers write code that looks synchronous while still handling asynchronous operations like API requests and data fetching. Learning and practicing with resources and guidance from Coding Ninjas. No shortcuts — just consistency. 🎯 Still learning. Still improving. Still consistent. 💯 #Day67 #9MonthChallenge #JavaScript #AsyncAwait #AsyncJavaScript #MERNStack #WebDevelopment #LearningInPublic
To view or add a comment, sign in
-
-
Continuing the journey of teaching JavaScript to blind students — today’s focus was on helping them move beyond hardcoded values. I introduced them to "prompt()" — a built-in JavaScript API used to collect input from users. One key concept we explored: Whatever comes from "prompt()" is always a string. To make this clear, I asked them to: let num = prompt("Guess a number"); console.log(typeof num); They saw the result themselves — ""string"". From there, we moved to type conversion, showing them how to turn input into a number: let num = Number(prompt("Guess a number")); That simple change opened up a lot of possibilities. We practiced with exercises: • Asking a user for their age and determining if they are an adult or minor • Prompting a number and checking if it is positive, negative, or zero To wrap up the class, I gave them a project assignment: • Build a BMI calculator with category classification • Create a temperature adviser system Step by step, they are learning to think like programmers — not just writing code, but understanding how data works. Teaching without relying on visuals forces deeper thinking, and the results are truly inspiring. We continue tomorrow 🚀 #JavaScript #Teaching #InclusiveEducation #Accessibility #Programming #LearningJourney
To view or add a comment, sign in
-
-
I started solving the GitHub Classroom assignments for Async JavaScript. And something surprising happened… Each question felt like solving a real-world problem, not just writing code. While working on the assignment, I realized something important. Good programming problems don't just test syntax. They simulate real scenarios developers face in production. For example: • Handling async operations • Managing data like real sales records • Understanding this context issues • Writing logic that actually solves a business problem Instead of memorizing JavaScript concepts, I felt like I was building solutions. That’s when learning becomes powerful. Huge thanks to Hitesh Choudhary sir and the #ChaiCode community for creating assignments that feel like real developer work, not textbook exercises. Learning this way makes coding far more enjoyable. If you're learning JavaScript, try this approach: • Solve real-world style problems • Write tests for your code • Focus on problem solving, not just syntax Piyush Garg | Akash Kadlag | Suraj Kumar Jha | Shubham Waje
To view or add a comment, sign in
-
-
Day 15 of learning to code. Today I explored arrow functions in JavaScript, and honestly, they make things feel much simpler. Earlier, I used to write functions like this: function add(a, b) { return a + b; } Now with arrow functions, it becomes: const add = (a, b) => a + b; Same output, but the code feels shorter and cleaner. I also noticed that arrow functions are really useful when dealing with small tasks, especially while working with arrays. For example: const numbers = [1, 2, 3]; numbers.forEach(num => console.log(num)); It just feels more natural to read and write. One small but important realization today: Writing better code doesn’t mean writing more code. It means writing it in a simpler, clearer, and more efficient way. Day 15 done #Day15 #LearningToCode #JavaScript #WebDevelopment #FrontendDevelopment #CodingJourney #40DaysOfCode #DeveloperLife #Programming #CodeNewbie #JavaScriptDeveloper #LearnInPublic #CodingLife #TechJourney #BuildInPublic
To view or add a comment, sign in
-
🚀 Day 2/100 JavaScript #100daysofcodechallenge 🚀 📌 Today’s Progress: Today I built two small JavaScript programs. The first program is a Trivia Bot. The bot introduces itself, shares some coding fun facts, and prints messages to the console using variables and string concatenation. The second program is a Sentence Maker. It creates short stories by combining words stored in variables like adjectives, nouns, verbs, and places. I also created a third sentence that introduces me, my age, what I study, and my life goal. This project helped me practice variables, string concatenation, and how programs generate dynamic sentences. Small projects like this train my thinking as a developer. I am learning how code can turn simple data into meaningful output. I added something new. I learnt sometimes GitHub repositories without READMEs is a bad practice so this time I added a README to my repository. Day 2. Still learning. Still building. Check it out on my GitHub: https://lnkd.in/d-jdmyVy Screenshots of codes are below. #100DaysOfCode #CodetrainAfrica #codetrainafrica #Gen31 #JavaScript #WebDevelopment #CodingJourney #LearnToCode #SoftwareEngineering #FrontendDevelopment #FullStackDevelopment #CodingLife #DevCommunity #BuildInPublic #TechLearning #Programming #Developers #CareerInTech #Everydaycoding #Technology #JavaScriptForBeginners Richard Brandt Sam Generals William Brandt Boateng Harrison Joshua Doe Foster Frimpong Flora Dadie
To view or add a comment, sign in
-
-
🚀 Day 5/100 JavaScript #100daysofcodechallenge 🚀 📌 Today’s Progress: Today I built a MathBot using JavaScript. The bot teaches how the Math object works by showing real examples. It generates random numbers, creates numbers within a range, and converts them into whole numbers. It also shows how different rounding methods behave and how to find the highest and lowest values in a set of numbers. This project helped me understand how numbers work in JavaScript and how small formulas control outcomes. I am starting to see how simple logic can power real features in applications. One step at a time. One concept at a time. Check it out on my GitHub: https://lnkd.in/dvNnEXep Screenshots of codes are below. #100DaysOfCode #CodetrainAfrica #codetrainafrica #Gen31 #JavaScript #WebDevelopment #CodingJourney #LearnToCode #SoftwareEngineering #FrontendDevelopment #FullStackDevelopment #CodingLife #DevCommunity #BuildInPublic #TechLearning #Programming #Developers #CareerInTech #Everydaycoding #Technology #JavaScriptForBeginners Richard Brandt Sam Generals William Brandt Boateng Harrison Joshua Doe Foster Frimpong Flora Dadie
To view or add a comment, sign in
-
-
I just dropped something BIG Most people don’t fail in JavaScript because it’s hard. They fail because they learn it the wrong way. So I decided to fix that. I’ve created a complete JavaScript Mastery course (0 → Pro level) designed for: • Absolute beginners • Students confused with concepts • Developers who want real clarity This is not just another tutorial. This is how I personally think, build, and solve problems using JavaScript explained in the simplest way possible. Inside the course: ✔ Basics to advanced concepts ✔ Real-world mindset (not just theory) ✔ Practical examples + projects ✔ Modern JavaScript (ES6+) ✔ Async JavaScript (the part most people struggle with) If you’ve ever felt stuck in your coding journey… this is for you. Start from zero. End as someone who can actually build. Would love your feedback ❤️ And if you find it helpful, share it with someone who needs this. #javascript #webdevelopment #programming #coding #developers #learntocode
To view or add a comment, sign in
-
-
🚀 Day 2 of My Coding Journey Today I practiced an important concept: Reversing a String and a Number using Functions in JavaScript 🔹 What I learned: How to reverse a string using a loop How to reverse a number using mathematical logic Also explored shortcut methods using built-in functions 💻 Example: Reversing a String function reverseString(str) { let reversed = ""; for (let i = str.length - 1; i >= 0; i--) { reversed += str[i]; } return reversed; } Reversing a Number function reverseNumber(num) { let reversed = 0; while (num > 0) { let digit = num % 10; reversed = reversed * 10 + digit; num = Math.floor(num / 10); } return reversed; } 📌 Key Takeaway: Understanding logic is more important than just using built-in methods. I’m improving step by step every day 💪 #Day2 #JavaScript #CodingJourney #WebDevelopment #90DaysOfCode #Learning #FrontendDeveloper
To view or add a comment, sign in
-
Life lessons from JavaScript arrays 💻 Too many dreams? Use Array of Objects – organize them with structure. Looking for the exact opportunity? Use find() – focus on what truly matters. Facing too many problems? Use reduce() – break them down and solve step by step. Want to improve daily? Use map() – transform yourself into a better version. Need to remove negativity? Use filter() – keep only what helps you grow. Coding teaches more than programming… It teaches how to think, simplify, and build solutions in life. Happy reading and happy coding. 🚀 #JavaScript #CodingLife #DeveloperMindset #ProblemSolving #LearningJourney
To view or add a comment, sign in
Explore related topics
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