I need to know how to close a page

i created a quiz for my students and i have a button at the end to close the thing but don’t know how to get it to work

Hi Adnan,

You can add an Execute JavaScript action to the button On Click event with the following script:

prez.destroy();
window.close();

This script will remove the presentation from the HTML page, after that it will try to close the browser window.
However, due to security reasons, the script can only close windows which were opened by script.

Regards

thanks a lot it works like magic