I would like to understand the following proof of @Hw Chu
in this question Prove that $\sqrt{\frac{n}{n+1}}\notin \mathbb{Q}$
If $\displaystyle\sqrt{\frac{n}{n+1}} \in \mathbb Q$, then $\displaystyle \sqrt{n(n+1)} = (n+1)\sqrt{\frac{n}{n+1}} \in \mathbb Q$, and since $n \in \mathbb N_{>0}$, $\sqrt{n(n+1)} \in \mathbb Z.$
Would someone elaborate this proof I mean proof step by step