Given $\{f_n\}\rightarrow f$ uniformly on the compact $I$ and each $f_n$ is continuous, prove $\lim_{n\rightarrow\infty}\int_I|f_n - f|^2 = 0$
My proof attempt
By hypothesis given $\sqrt{\epsilon} > 0 $ there exists $N(\epsilon) \in \mathbb{N}$ s.t. for all $n > N(\epsilon)$ we have for all $x\in I$:
$|f_n - f| < \sqrt{\epsilon}$
$|f_n - f|^2 < \epsilon$
At this point I don't know how to arrive to the integral equation