Shred the cabbage thinly.
Slice the carrot thinly.
Crack the eggs into a bowl and beat them.
Add the cabbage, carrot, salt, and pepper to the eggs and mix well.
Heat oil in a pan over medium-low heat.
Spread the mixture evenly in the pan and cook on both sides until golden brown.
Transfer the cooked pancake to a plate.