{Showing that Show $U_n$ is also dense.}
Since by {Second.} with $X = \mathbb{R}$, we know that upon fixing $n,$ that every point of continuity of $f$ belongs to $U_n$ and since $f$ is assumed to be continuous at all rational points, then $ U_n$ contains $\mathbb Q$. And since $\mathbb{Q}$ is dense in $\mathbb{R}$(by Advanced Calculus), hence $U_n$ is dense in $\mathbb{R}.$ \
Where Second. is "Showing that $\bigcap_n U_n$ is precisely the set of points at which $f$ is continuous."
Is this proof correct? I am confused about directly saying that $U_{n}$ is dense in $\mathbb{R}$ because $\mathbb{Q}$ is dense in $\mathbb{R}$. Is there details that should be added?