Braces build a group: {...} is one item wherever LaTeX expects one, and the braces themselves are never printed. This is the fix for the step before — 10^{23} — and it is how any command is given more than one character. Braces nest as deeply as you like.
Step 3 of 17 of the LaTeX tutorial. The formula of the step, 6.022 \times 10^{23}\ \text{mol}^{-1}, opens in a live playground you can edit.
Write a LaTeX or mhchem formula and see it drawn as you type, save it as an SVG that opens again, learn the notation step by step, and practise it with graded exercises. The tool needs JavaScript, because the formulas are drawn in your browser.