Whatfix Interview Question

How to add a button using JS