Statement
Let be $A$, $B$, $C$ and $D$ topological spaces and let be $\phi:A\rightarrow C$ and $\psi:B\rightarrow D$ two continuous function. So the product function $\Delta:A\times B\rightarrow C\times D$ defined through the condition $$ \Delta(a,b):=\big(\phi(a),\psi(b)\big) $$ for any $(a,b)\in A\times B$ is continuous in the product topology.
Clearly $\pi_A\big(\Delta(a,b)\big)=\phi(a)$ and $\pi_B\big(\Delta(a,b)\big)=\psi(b)$ but $\pi_A\circ\Delta: A\times B\rightarrow A$ and $\pi_B\circ\Delta:A\times B\rightarrow D$ whereas $\phi:A\rightarrow C$ and $\psi: B\rightarrow D$ so I think that I can't use the universal mapping theorem for products to claim that $\Delta$ is continuous. So could someone help me, please?