Solution#1540
Conversation
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
Review Summary
All core requirements are met: both promises are created with correct names and behavior (promise1 resolves on logo click, promise2 rejects after 3 seconds), and both success and error handlers are properly attached, appending the correct divs with appropriate classes and text. One minor improvement worth noting: your rejectHandler references data.message, but promise1 never rejects, making that code path dead code for that promise. While this doesn't break functionality, consider either using the resolved value consistently or adding a comment clarifying that the Error object pattern specifically applies to promise2. This is purely a code clarity note and not a blocker.
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨
No description provided.