Preheat your oven to 350°F (175°C). Grease a 9×5-inch loaf pan and set it aside.
In a mixing bowl, whisk together the flour, salt, and baking soda until combined.
In another bowl, mix the oil, sugar, eggs, milk (or buttermilk), and vanilla extract until smooth.
Add the dry ingredients to the wet mixture and stir until everything is well blended. Gently fold in the grated carrots and chopped nuts or raisins. (You can save a few nuts to sprinkle on top.)
Pour the batter into the greased pan. Sprinkle the remaining nuts on top.
Bake for 50–60 minutes, or until a toothpick or cake tester inserted in the center comes out clean.
Let the loaf cool in the pan for about 5–10 minutes. Then remove it from the pan and place it on a wire rack to cool completely.
Once cooled, slice and enjoy.