Hi everyone,

What is the best and easiest way to have a modal window pop up in JavaScript code? I have a function in JavaScript where I would like to put a modal pop up window code in so what I know it is being hit. I did a search engine search on the internet for examples of this but everything I found was accompanied with HTML and CSS code. That is not what I am looking form.

Please help.

I didn't find the right solution from the Internet.

References:
https://hackr.io/discuss/javascript/...-in-javascript
HR Service Video

Thank you.