A basket of goodies sat by the door. By the door is a prep phrase used as an adjective.
A prepostional phrase can act as an adjective or an adverb.
Imported from external platform