Whatfix Interview Question

How can we manipulate DOM?