Skip to content

add task solution#1542

Open
vitamartsekhovska wants to merge 1 commit into
mate-academy:masterfrom
vitamartsekhovska:develop
Open

add task solution#1542
vitamartsekhovska wants to merge 1 commit into
mate-academy:masterfrom
vitamartsekhovska:develop

Conversation

@vitamartsekhovska
Copy link
Copy Markdown

Copy link
Copy Markdown

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

Your implementation successfully meets all the core requirements. Both promise1 and promise2 are correctly defined with proper functionality: promise1 resolves when the .logo element is clicked via an event listener, and promise2 rejects after 3000ms using setTimeout. The success handler properly appends a message div with the message class and displays 'Promise was resolved!', while the error handler appends a div with both message and error-message classes showing 'Promise was rejected!'. The README correctly includes your demo link with the username vitamartsekhovska. All functional requirements from the task are implemented correctly and ready for use.


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants