Shouldn't this be conjugated if it's standing alone like this? "Goûtez la confiture"?
In French, infinitive "goûter" and imperative "goûtez...!" are different.
If Duolingo was expecting an imperative form, I think they would have added the exclamation mark at the end.