Thinly slice two large onions and set aside in a bowl.
In a large bowl, whisk together 1 cup flour, 1 teaspoon baking powder, 1 teaspoon salt, and ½ teaspoon black pepper.
Pour in ½ cup milk and 1 beaten egg. Whisk until smooth. Gently fold the sliced onions into the batter, making sure they’re coated but not overmixed.
Gently fold the sliced onions into the batter, making sure they’re coated but not overmixed.
Add vegetable oil to a frying pan, about ¼ inch deep. Heat to 350°F. Test with a spoonful of batter; if it sizzles, it's ready.
Drop spoonfuls of batter into the hot oil. Fry for 2-3 minutes per side, until golden brown and crispy. Don’t overcrowd the pan.
Remove the fritters using a slotted spoon and place them on paper towels. Serve hot with your favorite dipping sauce like ranch or ketchup.