Crossworkers interview question

Some JavaScript challenges , and CSS in general