Suppose there is a set of continuous functions $\{ f_n \}$ for $n\in \mathbb{N}$ such that $0\leq f_n \leq 1$. Then is $f(x) = \sup(f_n(x))$ continuous for all $x\in [0,1]$?
Is there a counterexample to this? If not then how can I go about proving it?
So far I have been able to show that there cannot exist some removable discontinuity that is greater than the rest of $f$ on some interval around it as since the $f_n$ it belongs to is continuous this would imply that for some interval around the point $f_n>f$ leading to a contradiction.
Aside from this special case I am stuck as to how to formulate a rigorous proof for this.

Try $f_n(x) = 1-x^n$. There's a problem near $x = 1$.