Accenture interview question

A star pattern in JavaScript. Some css stuff