<script> function activateLasers () { //... your code to activate the lasers console.log ("Lasers Activated") } </script> <button onclick="activateLasers()"> Activate Lasers </button>