Although the grasshopper's diet is primarily based on grass , they may eat other foods such as flowers, stems, seeds, grains, fruits, and vegetables. You can offer them lettuce, spinach, Swiss chard, grated carrots, tomatoes, strawberries and melons.