Nokia interview question

How to center a div. Find a bug in the JavaScript code. Create a class that can add, remove and get random string from a list.