The description for Spike Growth says:
The ground in a 20-foot radius-radius Sphere centered on a point within range twists and sprouts hard spikes and thorns. The area becomes difficult terrainDifficult forTerrain for the duration. When a creature moves into or within the area area, it takes takes 2d4 piercingPiercing damage for every 5 feet it travels.
The transformation of the ground is camouflaged to look natural. Any creature that can'tcan’t see the area at the timewhen the spell is cast must take a makeSearch action and succeed on a Wisdom (Perception or Survival) check against against your spell save DC to recognize recognize the terrain as hazardous before before entering it.
Say I cast spike growth at the top of stairs that descend 10 feet. Would the spike growth go down the stairs and onto the floor at the bottom, or would it only affect the top floor only?