Legacy Code Modernizer
Legacy Code Modernizer
hard 30-45 minutesGoal
Modernize callback-based code to async/await
Instructions
-
Download the quest starter code:
Terminal window npx bluebeltdojo download quest-97-legacy-modernizercd quest-97-legacy-modernizer -
Open
problem.jsin your editor with AI assistance. -
Implement the solution following the instructions in
problem.js. -
Verify your solution:
Terminal window node test.js
Verification
node test.jsWhen all tests pass, you will see the completion message.
Submit Your Solution
When tests pass, submit your solution:
npx bluebeltdojo submitYou must setup access code first:
npx bluebeltdojo setup <code>
Hints
- Read the instructions in
problem.jscarefully - Check the edge cases mentioned
- If stuck, peek at
_solution/solution.js