how to create a button on javascript code example Example: how to make a button in javascript <button id="btn">button</button>