$$C([a,b])=\{ f: [a,b] \to \mathbb{R} \text{ continuous} \}$$
$C([a,b])$ is a linear space.
For $f \in C([a,b])$ we define $\|f\|_{\infty}:= \sup_{x \in [a,b]} |f(x)|$ and easily it can be shown that the space $(C([a,b]),\| \cdot\|_\infty)$ is a space with norm.
For $f \in C([a,b])$ we define $\|f\|:= \int_a^b |f(x)| \, dx$
and it can be easily shown that the space $(C([a,b]), \|\cdot\|)$ is a space with norm.
$$(f,g) \mapsto \|f-g\|=\int_a^b |f(x)-g(x)|\,dx$$
There is a $f_n \in C([a,b])$ such that $\|f_n-g\| \to 0$ but $g \notin C([a,b])$.
Could you give me an example of such a function?
Also does the last proposition also hold if we consider $\|f\|_\infty:= \sup_{x \in [a,b]} |f(x)|$ ?