Prove: the countable product of regular topological spaces is regular.
Label the countable product of $X_i$ as $X$. Given $x \in X$ and $U$ a closed set s.t. $ x \notin U$, let's find disjoint neighborhoods of $x$ and $U$. Because $U$ is closed in $X$, it's closed in each $X_i$ (label these closed sets as $U_i$. Also, each coordinate of $x$ is disjoint in each $U_i$, and from $X_i$'s regularity we get that there are open disjoint neighborhoods around $x$ and $U_i$ in $X_i$.
If we take the product of these neighborhoods we get what we want.
Is this proof correct? I'm new to the idea of product spaces so I'm not quite sure what I'm doing.