Created with CodeSandbox
Its simply a popup box. When clicked on a button, a simple popup box will be triggered.
Here, we use JavaScript to create a modal popup.
button.addEventListener('click', () => {
modal.style.display='block';
})
on clicking, a button, the modal popsup.