HTML <dialog>
HTML's <dialog> element is a built-in tag to represent a dialog box or modal. It's not just a newer semantic element, it also includes an API and its own special CSS.
Here's a video using <dialog> in action:
How to use it
To start, we add our <d...
blog.jsbits-yo.com2 min read