Close Interview Question

Simple DOM manipulation question & another JS