Whatfix interview question

How to add a button using JS