Wash the cabbage thoroughly and shred it.
Julienne the carrot finely.
Rinse them in cold water and drain well.
Place the cabbage and carrot in a bowl.
Mix mayonnaise, vinegar, sugar, salt, and pepper to make the dressing.
Pour the dressing over the salad and toss well.