The problem I tried to solve is the following:
Let $(X,\tau)$ a second countable topological space. Let $A\subset X$ such that $\text{card}(A)>\mathbb{N}$. Then $A$ has accumulation points.
This is what I tried, but I'm not sure it is correct.
We proceed by contradiction. Asume that every $x\in A$ is an isolated point. We set $\mathcal{B}$ be the basis for $\tau$. Let $x\in A$. By definition, $\exists V_x$ a neighbourhood of $x$ such that $V_x\cap A=\{x\}$. By definition of neighbourhood, $\exists O_x \in \tau$ such that $x\in O_x\subset V_x$. By definition of basis, $\exists B_x\in \mathcal{B}$ such that $x\in B_x\subset O_x \subset V_x$, then $B_x\cap A=\{x\}$. If $x\neq y$ are elements in $A$ then $B_x\neq B_y$: If $B_x=B_y$, then $\{x\}=B_x\cap A=B_y\cap A=\{y\}$, a contradiction. Hence, for every $x\in A$ there is at least one element in $\mathcal{B}$ containing $x$ and satisfying all the conditions before. We can conclude $\text{card}(\mathbb{N})\geq\text{card}(\mathcal{B})\geq\text{card}(A)>\text{card}(\mathbb{N})$, a contradiction.
Is this okay?
The proof is fine. If I'd write it, I'd go straight from $x \in A$ is isolated in $A$, to $\exists k(x)\in \mathbb{N}: \{x\} = B_{k(x)} \cap A$ and your proof then shows that $x \rightarrow k(x)$ is an injection from $A$ into $\mathbb{N}$, making $A$ at most countable, contradiction.