Mads Akselsenmadsakselsen.hashnode.dev·Dec 8, 2022How to close popup when clicking outside it using JavaScriptWhy not use backdrops Backdrops are a great way of bringing attention to a popup. Furthermore, it indicates the need for user interaction before the user is allowed to interact with other parts of the page. Backdrops are also an easy way of coding th...564 readspopupAdd a thoughtful comment2 commentsTop commentsMohammed Sharooque·Dec 8, 2022Dec 8, 2022Great share! 1·Reply·1 replyHide repliesMads AkselsenAuthor·Dec 8, 2022Author·Dec 8, 2022Eyy, appreciate it! :) ·Reply