assignment exercise about writing gradients in css and js