Let $f_{n}$ be a sequence of continuous functions from one metric space $(X,d_{X})$ to another $(Y,d_{Y})$, and suppose that this sequence converges uniformly to another function $f:X\to Y$. Let $x_{n}$ be a sequence of points in $X$ which converge to some limit $x$. Then $f_{n}(x_{n})$ converges (in $Y$) to $f(x)$.
MY ATTEMPT
I know that continuous functions between metric spaces map convergent sequences onto convergent sequences. I do also know that uniform convergence preserves continuity. However I am not able to apply such results in order to prove the desired result. I feel that we should apply the triangle inequality, but still I am not sure how to do it.
Can someone help me with this?
Use the classical decomposition: \begin{align} d_Y(f_n(x_n), f(x)) \leq d_Y(f_n(x_n), f(x_n)) + d_Y(f(x_n), f(x)) \end{align}
Analyze the first term using uniform convergence of $f_n$ to $f$. Analyze the second term using the continuity of $f$.