【CryptoZombies】lesson1 Chapter 13: Events
Events are a way for your contract to communicate that something happened on the blockchain to your app front-end, which can be 'listening' for certain events and take action when they happen.
Example:
// declare the eventevent IntegersAd