I am looking for a way to prove that the Hilbert Cube is compact as a subset of $\ell^2$ using Tychonoff's Theorem. As I've found, this can be done using the fact that C is homeomorphic to $[-1,1]^{\mathbb{N}}$ which is, by Tychonoff, compact when endowed with the metric $d(x,y)=\displaystyle\sum_{j\in\mathbb{N}}\dfrac{1}{2^j}|x_j-y_j|$.
It seems to me that one possible homeomorphism is $h: [-1,1]^{\mathbb{N}} \rightarrow C$ defined by $h(x)=(x_1,\dfrac{x_2}{2},...,\dfrac{x_i}{i},...)$, but I'm not being able to prove its continuity, how can I do it? I checked Here but I don't get the proof of the continuity of $F$ as it doesn't use the metric. I'm sure someone who knows general topology can easily translate it to metric-terms, I'd appreciate it very much.
Thanks in advance!
PS: With "traditional" Hilbert Cube I mean $C=\{ \{x_n\}_{n\in\mathbb{N}}: 0\leq x_n \leq \dfrac{1}{n}\}$.