Internet Brands interview question

2 problems for css and js