Sterilize the jars. Put them in the oven for 20 minutes, the temperature inside should be 100-110 °C. Then turn off the oven, let the jars cool inside for a few minutes.
Shred the cabbage.
Cut out the core and seeds from the pepper and cut it into thin slices.
Peel and cut the onion into half rings.
Grate the carrots on a coarse grater.
Place all the vegetables in a deep plate.
Add oil, vinegar, salt and sugar to the vegetables. Mix thoroughly.
Cover the vegetables and refrigerate for 5-6 hours.
Place the cabbage salad in a jar and seal.