Create A Toast Notification in HTML CSS & JavaScript | Toast Notification in JavaScript

Поделиться
HTML-код
  • Опубликовано: 16 май 2024
  • 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...

Комментарии • 54

  • @JRuralControleBovino
    @JRuralControleBovino 11 месяцев назад

    Vídeo Sensacional!!! A muito tempo eu procurava um vídeo com tamanha qualidade.
    Parabéns!!!

  • @codehal
    @codehal Год назад +2

    Awesome sir

  • @qahramonbadirjonov623
    @qahramonbadirjonov623 Год назад +5

    Assalamu alaykum from uzbekistan.Your videos are very interesting, thank you very much

  • @ArsenTech
    @ArsenTech Год назад +2

    Thanks. It helped me alot

  • @csgameng1128
    @csgameng1128 6 месяцев назад

    Amazing vid, thank you!

  • @ashishpatel6078
    @ashishpatel6078 Год назад +1

    What a video
    Always welcome for your javascript projects
    Love from india

  • @mdms4549
    @mdms4549 Год назад

    Great Thank very much!

  • @huraiah821
    @huraiah821 Год назад

    awesome work bro😍

  • @nomeradin602
    @nomeradin602 Год назад +1

    Hello Coding Nepal How well do you know JavaScript and where did you learn it so well!

  • @zeeshanali7639
    @zeeshanali7639 Год назад

    did not expecpt this. thank you 🥰

  • @user-ym5pw6me1f
    @user-ym5pw6me1f Год назад +2

    Thank you very much for the explanation in the video : Build A Drawing or Paint App in HTML CSS & JavaScript | Drawing App in JavaScript
    Can you explain to me how to add pictures to the canvas and draw on it or its code?

    • @CodingNepal
      @CodingNepal  Год назад +3

      You can watch my Image Editor video to get idea about how to do it: ruclips.net/video/YqUUvBpCtfA/видео.html

    • @user-ym5pw6me1f
      @user-ym5pw6me1f Год назад +1

      @@CodingNepal I watched it, but I want to add an image from a link from my site, by pressing a button, to be added to the canvas directly, color it, and then save the images. Can you explain it by completing your previous video or guide me with the steps of the code please

  • @dineshpaudel12
    @dineshpaudel12 Год назад

    proud to be hear that nepali is the creator of this channel.

  • @ulugbekabdulloyev22
    @ulugbekabdulloyev22 Год назад +1

    great🥰🥰

  • @janderkanigoski8519
    @janderkanigoski8519 4 месяца назад

    I loved these alerts, but my doubt is
    I want to use it throughout the site, from checks, changes, saves, confirmations, etc.
    But I haven't found a way to call this function yet. Would there be a light to guide me?

  • @siddarthsmith1376
    @siddarthsmith1376 Год назад

    Have u made it like a plugin

  •  7 месяцев назад

    Hay quas likeeeeeeeeeeeeeeee

  • @sagarbharati1438
    @sagarbharati1438 Год назад +1

    Waaw .. who this guy is ? ❤️

    • @ramlaaal
      @ramlaaal Год назад +1

      his name is prem shahi.

  • @user-ob7iy9ws6b
    @user-ob7iy9ws6b 9 месяцев назад

    Very cool video, thank you very much for the video. But at the last stage, when deleting, the element is not passed through "onclick="removeToast(this.parentElement)", maybe you have encountered this? Is there any other way to pass the element?

    • @user-ob7iy9ws6b
      @user-ob7iy9ws6b 9 месяцев назад

      I understood what the problem was. I requested the parent of the object "i" (div class="column"). To get to the progenitor try: onclick="removeToast(this.parentNode.parentNode)"

  • @aniskhan-lc4wd
    @aniskhan-lc4wd Год назад

    Sir it's pleasure request...please make a detailed videos for clone websites development using HTML, CSS, and JAVASCRIPT...🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰

  • @tanmayyguptaa
    @tanmayyguptaa Год назад +1

    Sir can you please tell how to host these projects online. Please make videos on this also.

    • @CodingNepal
      @CodingNepal  Год назад

      You can buy hosting and domain and upload your files there or you can use github pages to do it free. If possible, I'll try to make video on it.

  • @TheLoona
    @TheLoona Год назад

    Here

  • @codeurient
    @codeurient Год назад +1

    just can not understant why you wrote toast.timeoutId . what is the timeoutId

  • @nomeradin602
    @nomeradin602 Год назад +1

    Hello Coding Nepal bro Please show how to make Movie App using API in JavaScript

    • @CodingNepal
      @CodingNepal  Год назад +1

      Sure, I'll try to make video on it. Stay tuned.

  • @coding_with_mayavi0
    @coding_with_mayavi0 Год назад

    How old are you ?
    And eich year you start learn coding

  • @paglutricker
    @paglutricker Год назад

    Kindly make one video on RUclips video download in php

    • @CodingNepal
      @CodingNepal  Год назад

      I don't think RUclips will allow me to upload videos on this topic. Also, it can't be done with vanilla JavaScript.

    • @paglutricker
      @paglutricker Год назад

      @@CodingNepal check data api with php

    • @paglutricker
      @paglutricker Год назад

      Please sir help me can we talk on gmail?

  • @redboltanimates1356
    @redboltanimates1356 Год назад

    Please upload dthe source codes

    • @CodingNepal
      @CodingNepal  Год назад

      Here is code link: www.codingnepalweb.com/toast-notification-html-css-javascript/