See the tips and notes for the Accusative Case Skill:
https://www.duolingo.com/skill/de/Accusative-Case
Die is usually used in the feminine case and den could be used for either depending which case you are using