One of the things that's really frustrating about Duolingo is that it doesn't really explain much. For example, it took me forever to figure out that "im"/"ins" were contractions for "in dem"/"in das" and that "zum"/"zur" were contractions for "zu dem"/"zu der".
Each section has a few notes of instruction but they usually don't explain stuff like this.