Anonymous interview question

Filter in javascript, swapping program in two ways, html, css