Is it possible to make a code in a pop-up?

check this guide