Preview:
  const showToast = document.querySelector("#showToast");
  const toast = document.querySelector(".toast");
  showToast.addEventListener("click", () => {
    toast.classList.toggle("hidden");
  });

  const closeToast = document.querySelector(".close-toast")
  closeToast.addEventListener("click", () => {
    toast.classList.toggle("hidden");
  })
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter