completed ex 41 - building a form with js