To solve for \( x \) in the equation
\[ \frac{3}{4} = \frac{x}{24}, \]
you can use cross multiplication. This gives:
\[ 3 \times 24 = 4 \times x. \]
Calculating the left side:
\[ 3 \times 24 = 72, \]
so the equation becomes:
\[ 72 = 4x. \]
Now, divide both sides by 4 to solve for \( x \):
\[ x = \frac{72}{4} = 18. \]
Thus, the solution is
\[ \boxed{18}. \]