In this video, I've shown you how to Create A Toast Notification using HTML, CSS, and JavaScript. Users can click on the particular button like "success," "error," or "info," and the relevant toast notification will show in the top right corner.
This toast will be removed automatically after 5 seconds, or users can also hide it by clicking on the close icon. To make the toast more attractive, I've also added a progress line on the bottom of each toast.
Live Demo or Download Codes of this Toast Notification
codingnepalweb.com/demos/toas...
Second Channel - bit.ly/3aHNkru
Facebook - / coding.np
Instagram - / coding.np
Timestamps:
0:00 Demo of Toasts
1:22 HTML & CSS Start
13:33 JavaScript Start
13:58 Creating New Toast on Button Click
18:17 Showing Relevant Toast on Button Click
21:22 Removing Toast After 5 Seconds
25:17 Removing Toast on Close Icon Click
Music Credit:
Deep Sea by Vendredi
• Deep Sea - Vendredi (N...
Ikson - Lights [Official]
• #32 Lights (Official)
Ikson - We Are Free [Official]
• #83 We Are Free (Offic...
19 июн 2024