Expanded onClick with if, else if. Defined tags and declared onClick on .h