Easiest way to make a pop-up alert on button click?

Hi friends, after a hours of research I've done and some fatigue setting in, I'm looking for help!

What I'm looking for: A pop-up message that tells a user they are being redirected to an external website.

I'm aware of some ways to do this, like plugins, lightbox and some other random suggestions. It's been hard for me to narrow it down. I'm not looking to pay for a service. I spent a couple hours trying to setup the lightbox alerts that I found here https://divihacks.com/how-to-create-a-popup-in-divi-without-a-plugin/# but there are some issues with it and I don't know if it's best for me. Now, after some fatigue I have come here to see if there are any easy solutions or suggestions before I go an spent another 8 hours on this, haha.

Thanks in Advance for any help!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer