Goal 2: Javascript Practice Finished

finished and verified that the code works.