- Replace
<your_account>
with your Github username in the link - Follow this instructions
- There are no tests for this task so use
npm run lint
command instead ofnpm test
- There are no tests for this task so use
In this task you should create 2 promises.
- The first promise should be resolved on a
click
indocument
. - The second promise should be rejected in 5 seconds.
That's all.
Hint: It doesn't matter in what way you choose to notify users about resolved or rejected promises. You can use DOM or console.log
.