updateBadge method implementd, e.target typecasted to InputElement
Generating badge name from user input.
Modify updateBadge() to call setBadgeName()
Modify the button as neede using if-else. First contact with cascade operators used to set multiple values on a single objext.