Which First: Cardio or Strength Training?

group fitness class

Many have learned that strength training should be done before cardio. Is it true, and what’s the logic behind it?