moved the a tags from inside the button tags to outside