It's easy to see $\Bbb Q[\sqrt 3]$ is closed under addition, for if
$a_1 + b_1\sqrt 3, a_2 + b_2\sqrt 3 \in \Bbb Q[\sqrt 3], \tag 1$
then clearly
$(a_1 + a_2) + (b_1 + b_2)\sqrt 3 \in \Bbb Q[\sqrt 3]; \tag 2$
similarly we have
$(a_1 + b_1\sqrt 3)(a_2 + b_2\sqrt 3) = (a_1 a_2 + 3b_1 b_2) + (a_1b_2 + a_2 b_1)\sqrt 3 \in \Bbb Q[\sqrt 3]; \tag 3$
all the rules about associativity, commutativity, and distributivity are inherited from $\Bbb R$, in which $\Bbb Q[\sqrt 3]$ may be considered to
"live". Also, if $a + b \sqrt 3 \in \Bbb Q[\sqrt 3]$, $-a - b\sqrt 3 \in \Bbb Q[\sqrt 3]$, and clearly $1 \in \Bbb Q[\sqrt 3]$, so all we really need to do is show that $(a + b\sqrt 3)^{-1} \in \Bbb Q[\sqrt 3]$. But
$\dfrac{1}{a + b\sqrt 3} = \dfrac{a - b\sqrt 3}{(a - b\sqrt 3)(a + b\sqrt 3)} = \dfrac{a - b\sqrt 3}{a^2 - 3b^2} = \in \Bbb Q[\sqrt 3], \tag 4$
which works since $a^2 - 3b^2 \ne 0 $ for $a, b \in \Bbb Q$, since $\sqrt 3$ is irrational.