Amazon Interview Question

Describe how you would get a certain node from the DOM