Whatfix interview question

How can we manipulate DOM?