Reworked Callback Hell and Promise Chaining Lessons, New Exercise for Promise Chaining, Terminology Updates, and Feedback Improvements across HTML, CSS & JavaScript Courses
December 16th - December 20th
Let us look at what we worked on in BigBinary Academy from December 16th to December 20th, 2024.
This week, we reworked 2 lessons, created a new challenge and improved 5 existing challenges covering topics such as Callback, Promise Chaining, Array Methods, Set Object, Conditionals, HTML Links and Button elements and CSS Border styling. We also made terminology changes across HTML, CSS and JavaScript courses.
JavaScript Course Update
This week, we revisited two important lessons, Callback Hell and Chaining Promises, to improve clarity and better explain the concepts with relatable real-world scenarios.
Callback Hell
We rewrote this lesson to introduce a practical use case for multiple callbacks in asynchronous operations. Using the Apollo 11 mission as inspiration, the lesson then illustrates how deeply nested callbacks, commonly referred to as callback hell, can make code challenging to read and maintain. By emphasizing this issue, learners gain a clear understanding of the limitations of callbacks and the need for a better solution.
Check out the updated lesson here.
Replacing Callback Hell with Promise Chaining
Building on the Apollo 11 example, this lesson refactors the callback-based code to use promise chaining to show how promises simplify nested logic, making the code more readable and maintainable.
Check out the updated lesson here.
New Exercise: Converting Callback Hell to Promises
We introduced a new exercise where learners refactor a callback-based program to use promises. This exercise reinforces the concepts taught in the lessons and provides hands-on practice.
Put your Promise chaining skills to the test with this exercise here.
Community Feedback
Nafeesathul Misriya pointed out an error in the solution code of the Curried Sum exercise. Thanks to her feedback, we have fixed the bug in the code.
You can check out the improved exercise here.
Anamika Prakash highlighted an issue with the problem statement of the Find diseases spreading in COVID-19 zones exercise. Thanks to her feedback, we have updated the exercise for better clarity.
You can check out the improved exercise here.
We received a few more feedback regarding improvements needed in the solution code for the Images and Links Exercise in the HTML course, the JavaScript Book Fair Exercise, and the CSS Border Color Final Exercise. We have addressed these issues and updated the lessons.
Thank you, everyone, for the feedback.
Challenges are Now Exercises
To keep our content structure simple and use a term that feels more familiar, we have transitioned from using Challenges to Exercises.
Moving forward, our courses will feature two types of content: Lessons and Exercises. Lessons will introduce key concepts, while Exercises test you on the same to reinforce your learning.
This update has already been implemented in our HTML, CSS, and JavaScript courses, with updates for React and Ruby courses coming soon.