We know that if $f:K \to X$ is continuous and injective, $K$ is compact, and $X$ is Hausdorff, then $f$ is a homeomorphism $K \cong f(K)$.
So suppose $f:U \to \mathbb{R}^n$ is continuous and injective, where $U$ is an open subset of $\mathbb{R}^n$. Choose an open ball $B$ such that $B \subset \bar{B} \subset U$. By the remark above $\bar{B} \cong f(\bar{B}) \Rightarrow B \cong f(B)$. Finally, since $B$ is open, so is $f(B)$.
My instructor said something about not knowing that $f(B)$ is open even though it is homeomorphic to an open set, but I'm not sure I understood at all.