contestada

Well, son, I'll tell you:

Life for me ain't been no crystal stair.

It's had tacks in it, And splinters,

And boards torn up,

And places with no carpet on the floor - Bare.

—“Mother to Son,”
Langston Hughes

What kind of figurative language does Hughes use in this stanza to show his mother's view about life?