the first exercise is done for javascript chapter