LinkedIn Interview Question

How would you use JavaScript to manipulate the DOM?