How does entangle qubits pass single qubit gate? For example, I initialize two qubits $|0\rangle\otimes|0\rangle$, then first qubit passes $H$ gate to make it an superposition state $\frac{1}{\sqrt{2}}(|0\rangle+|1\rangle)$ and then applied CNOT gate. The state finally become $\frac{1}{\sqrt{2}}(|00\rangle+|11\rangle)$
Then I put the first qubit into $X$ gate. What will happen? It will become $\frac{1}{\sqrt{2}}(|10\rangle+|01\rangle)$? If so, how could it is possible the entangled two quibits pass the single-qubit-gate? If not, what will happen in this situation?