Grazitti Interactive interview question

They asked DOM in js