what code do I use to put a button on the javascript.

You can add a button in JavaScript by creating a new button element using the `document.createElement()` method and then appending it to the DOM. Here is an example code snippet to create a button and add it to the body of the document:

```javascript
// Create a new button element
const button = document.createElement('button');
// Set the inner text of the button
button.innerText = 'Click me!';
// Add click event listener to the button
button.addEventListener('click', function() {
alert('Button clicked!');
});
// Append the button to the body of the document
document.body.appendChild(button);
```

You can customize the button styling and functionality further by adding classes, IDs, or additional attributes as needed.