creating a button in java script code example Example: how to make a button in javascript <button id="btn">button</button>