Length 20:19dialog = the easiest way to make a popup modal
About this video
A walkthrough of the HTML dialog element as a native way to build modal popups, covering show, showModal, closing with close() or a form submission, and styling the backdrop. It suits people learning front-end web development.
What you’ll learn
- Create a modal popup with the native HTML dialog element
- Open and close a dialog with show, showModal and close
- Style the dialog backdrop with CSS










