Use RequireJS To Implement The Magento 2 Modal Widget
A modal makes the whole page darker in the background and highlights a window at the center of the page. Its structure includes a content container, a title with the page content, a close control “X” and a CTA button with text ‘Cancel,’ ‘Close,’ or ‘...
hashnode.com
Milica Maksimović
founder Literally.dev, ex-Growth @wasp, former Community Manager @Hashnode
Hey Fayyaz Khattak, you need to edit this blog post and add the original url of it i.e. cloudways.com/blog/magento-2-modal-widget
Thanks!