LinkedIn interview question

How would you use JavaScript to manipulate the DOM?