Assume we are given a space $A$ with a metric $d$. Assume $A = A_1 \times A_2 \times A_3 \cdots$, ie. $A$ is a Cartesian product of spaces $A_i$, where $i \in I$. $I$ is countable or countably infinite. Assume also that we know that each $A_i$ is homeomorphic to a space $B_i$.
Is the Cartesian product $A = \prod A_i$ homeomorphic to Cartesian product $B = \prod B_i$?
Because each $A_i$ is homeomorphic to each $B_i$, let the homeomorphism be $h_i: A_i \rightarrow B_i.$ Can I apply these in some way to an element $x \in A$ to get to $y \in B$? Like "apply $h_i$ to the $i$th element of $x$"? I dread to use projections as a projection isn't a homeomorphism.