Customisable Toast Notification in JavaScript | stacking timers, animations, DOM interaction & more

preview_player
Показать описание
In this video I will show you how to build a highly customisable toast notification using vanilla JavaScript that allows user to control the position, type (success or error), message content, and duration of display of the toast notification.
You will learn a lot of important JavaScript concepts upon implementing this project and I highly recommend you to watch the entire video.

0:00 - Complete DEMO (IMP)
4:25 - Initial setup
6:22 - rendering the button
8:02 - getting started with main logic
9:00 - Intuition & implementation walkthrough
10:05 - initializing all functions
13:43 - init function logic
19:10 - show function logic
39:05 - setToastPlacement function logic
49:21 - initialising deleteId
51:22 - removeToast function logic & UI
57:43 - setRemainingTime function logic
1:05:26 - fixing a bug
1:07:23 - final demo of complete project
1:09:32 - Minor Refactor
1:12:00 - End
Рекомендации по теме
Комментарии
Автор

Please make a next video for cracking DSA coding problems rounds for frontend interview coding questions

kavinn
join shbcf.ru