how to make a button work with javascript code example Example: javascript button <button onclick="Function()">Text</button>