Below is a simple proof of irrationality of square-roots that I discovered as a teenager (inspired by a proof of Dedekind). It employs the Bezout identity for the gcd, i.e. the gcd $\rm\,(a,b)\,$ of integers $\rm\,a,b\,$ may be expressed as an integral linear combination of the given integers: $\rm\:\ (a,b)\ =\ a\ d - b\ c\:.\ $
THEOREM $\quad \rm r = \sqrt{n}\;\;$ is integral if rational, $\:$ for $\:\rm n\in\mathbb{N}$
Proof $\ \ $ Note that $\rm\ r = a/b,\ \ \gcd(a,b) = 1\ \Rightarrow\ ad\!-\!bc \,=\, \color{#C00}{\bf 1}\;$ for some $\:\rm c,d \in \mathbb{Z}\;\;$ by Bezout.
$\rm\color{#C00}{That\,}$ and $\rm\: r^2\! = \color{#0C0}{\bf n}\:\Rightarrow\ 0\ =\ (a\!-\!br)\, (c\!+\!dr) \ =\ ac\!-\!bd\color{#0C0}{\bf n} \:+\: \color{#c00}{\bf 1}\cdot r \ \Rightarrow\ r \in \mathbb{Z}\ \ $ QED
This generalizes to roots of monic quadratic polynomials (and to higher degree, see here).
THEOREM $\ $ If $\rm\,\ r^2\: =\: \color{#0A0}{m\ r + n}\ \,$ for $\rm\ m,n\in\mathbb Z\ $ then $\rm\ r\in \mathbb Q\ \Rightarrow\ r\in\mathbb Z$
Proof $\quad\ \rm r = a/b\in \mathbb Q,\ \ \gcd(a,b) = 1\ \Rightarrow\ ad\!-\!bc \;=\; \color{#C00}{\bf 1}\;$ for some $\:\rm c,d \in \mathbb{Z}\;\;$ by Bezout.
So $\rm\: 0\ =\ (a\!-\!br)\: (c\!+\!dr) \ =\ ac\! -\! bd(\color{#0A0}{m\:r\!+\!n})+\color{#C00}{\bf 1}\cdot r \ =\ ac\!-\!adm\!-\!bdn + r \ \Rightarrow\ r \in \mathbb{Z}\ \ $ QED
Nowadays my favorite proof is the $1$-line gem using Dedekind's conductor ideal. As I explained at length elsewhere, it beautifully encapsulates the denominator descent in ad-hoc "elementary" irrationality proofs.
See also my other post here. That post concisely proves the theorem after first proving from scratch the fundamental lemma that the least positive denominator $\rm\:b\:$ of a fraction divides every other denominator, i.e. $\rm\ a/b = c/d\ \Rightarrow\ b\ |\ d\ $ if $\rm\ a/b\ $ is in lowest terms. The irrationality proof follows immediately from this principal denominator ideal theorem ("unique fractionization"), namely
Proof $\ \ $ Suppose $\displaystyle\;\rm \sqrt{n} \:= \frac{a}b,\;\;$ least $\rm b>0.\ \ $ $\displaystyle\rm\sqrt{n}\; = \frac{n}{\sqrt{n}} \ \Rightarrow\ \frac{a}b = \frac{nb}a \ \Rightarrow\ b\:|\:a\ \Rightarrow\ \sqrt{n}\ \in\ \mathbb Z$