Answer:
Whitman was influenced by the period involving the civil war and the entire period that passed before and after that war.
Step-by-step explanation:
As you have not provided the text to which this question refers, it is impossible for it to be answered accurately, but I will try to help you in the best possible way.
Whitman was a humanist and he lived through the American Civil War period, which was a great inspiration for his work, mainly because this period stimulated humanist, social and economic issues, which made Whitman reflect strongly on his position in American society and how your work could express those positions.