What is lifecycle ?How it works ?Difference between event & page life cycle.
Event Life Cycle: This refers to the series of stages an event goes through from creation to completion. It typically includes stages like initialization, execution, and termination.Page Life Cycle: This is specific to web development, detailing how a webpage is loaded, rendered, and interacted with by users. It includes stages like page load, rendering, user interaction, and unload.In short, the event life cycle focuses on events themselves, while the page life cycle focuses on the lifecycle of a webpage