I want to make a popup that should appear once a button is clicked and disappear once the user clicks outside of the box.
I\'m not sure how to make the div disappear
hope this will work for you
This code is tested and it's working nicely, thank you.