What happens when this function is called?

The underline class is added to the selected elementThe underline class is removed from the selected elementThe code fails to execute because the add method is used incorrectly

The underline class is added to the selected element.