LED and resistor placing (n00b question)

Look up the concept of components in serese. The current flows through both devices, so the order is not important.