Well, some beds don’t even have legs, so that’s another twist. Is the puzzle in the word “ground” rather than floor. Ground is actually out of doors.
That’s one trouble with this type of riddle. There are so many possibilities with the terms and we’re not given enough information to have only one correct answer.