I am aware that this question has been asked multiple times on this site; however none of them seem to have a proof as simple as mine. So I would like to know if this is legitimate:
Let $A=\{x_n:n\in\mathbb Z_+\}$ be a countable dense set in $X$, then $\overline A=X$. So if $x\in X$, then $x\in A$ or $x\in \overline A$. Either way, any neighborhood $U$ of $x$ contains a point of $A$. So there exist positive integers $n,m$ such that $B_d(x_n,1/m)\subset U$, with $x\in B_d(x_n,1/m)$. Hence the set $$B =\{B_d(x_n,1/m):n,m\in\mathbb Z_+\}$$ is a countable basis for $X$.