In this series, I demonstrate how to create a basic cookie clicker / idle clicker game using just vanilla JavaScript and a CSS framework.
In this video, I demonstrate how to add a toast (otherwise known as a modal) using JavaScript and DaisyUI components.
00:00 Intro
01:44 Adding the div tag to store the toasts
02:10 Writing the JavaScript function for the toast
04:25 Making toasts disappear