Shred the cabbage and carrot.
Sprinkle a little salt over the vegetables and let them sit for 10 minutes.
Squeeze out the excess water from the salted vegetables.
Add olive oil, lemon juice, sugar, and pepper, then mix well.
Transfer to a plate and serve.