Let $M_c := \{f\in C^1([0,1]):\int |f|^2+\int |f'|^2\le c\}\subset C([0,1])$. Show that $\overline{{M}_c}$ is compact.
So since we are in a complete space, it is sufficient to show that $M_c$ is totally bounded, which means we need to verify equicontinuity and uniform boundedness. Equicontinuity is no problem, we get directly from the fundamental theorem and the Hölder inequality that $|f(y)-f(x)|\le |y-x|^\dfrac{1}{2}c$. Also we get from the definition $|f(x)-f(0)|\le c$, with which we can find that $f(0)\le c + \sqrt{c}$ such that $f(x)\le\sqrt{c} + 2c$ (analogous to here). So we have a uniform upper bound for all $f$, but I don't see how one can arrive at a lower bound from that, which is needed for uniform boundedness.