D. because " was a lot of fun" is a prepositional phrase.
The answer has to be choice d
It depends on which word is in bold.
If the bolded word is <em>ribbon, </em>then it is used as a direct object in this sentence.
The winner is indirect object, and a ribbon is direct.