So my textbook says that it is a complete space, However in The same textbook i have found an example of a series that makes me doubt this.
If we use $f_n(t)=t^n$, after taking into account the max distance, we obtain that to the limit of n it should go to a function that is not continuos, that is $f(t)=1$, when $t=1$, while $f(t)=0$, when $t \in [0,1)$.
Then we conclude that since the succession must be continuos, it does not converge.
However doesn't this mean that the space is incomplete?
The sequence $f_n$ in not a Cauchy sequence for the "max distance" $$d_\infty(f,g) := \sup_{t \in [0,1]} |f(t) - g(t)|.$$
Indeed, take any $n \geq 1$. Then you can find $t_n$ close to $1$ such that $f_n(t_n) \geq \frac34$, and some larger $m \geq n$ such that $f_m(t_n) \leq \frac14$. In particular, $$ d_\infty(f_n, f_m) \geq |f_n(t_n) - f_m(t_n)| \geq \tfrac12. $$
Therefore, the sequence $\{f_n\}_{n \geq 1}$ is not a counterexample to the completeness of $C([0,1])$.