Assume that $f_n, g_n$ are continuous. If $f_n \to f$ uniformly and $g_n\to g$ uniformly. Does it imply that $f_n\circ g_n \to f\circ g$ uniformly? I think it is true but I have no idea to prove it. Can anyone help me? Thank you in advance!
Edit: Is it true that $f_n\circ g_n \to f\circ g$ pointwise?
In $\mathbb{R}$, we have that $g_n(x)=x+\frac{1}{n}$ converges uniformly to $g(x)=x$ and $f_n(x)=x^2+\frac{1}{n}$ converges uniformly to $f(x)=x^2$. But $$f_n(g_n(x))-f(g(x))=\left(x+\frac{1}{n}\right)^2+\frac{1}{n}-x^2=\frac{2x}{n}+\frac{1}{n^2}+\frac{1}{n}$$ does not converge uniformly to $0$ in $\mathbb{R}$.