Peel the onion then slice it into rings and separate. In a bowl, beat the egg well. Add pepper, baking powder, oil, and seasoning salt and mix well. Pour in the beer and add the flour to the egg mixture and mix thoroughly. Let it rest. Heat the oil to approximately 375 degrees F. in an electric skillet.