While attempting React's TicTacToe tutorial (https://react.dev/learn/tutorial-tic-tac-toe) on my local development environment, I ran into this error message after copy-pasting the following from the tutorial's spec.
export default function Square() {
return (
<>
<div className="board-row">
<button className="square">1</button>
<button className="square">2</button>
<button className="square">3</button>
</div>
<div className="board-row">
<button className="square">4</button>
<button className="square">5</button>
<button className="square">6</button>
</div>
<div className="board-row">
<button className="square">7</button>
<button className="square">8</button>
<button className="square">9</button>
</div>
</>
);
}
I was expecting to reach the next step of the tutorial, as it required 0 brainpower to copy-paste the code. I have no real experience with HTML, CSS, or JSX syntax, so I have no idea what this issue could be. I know those are important prerequisites but I intend to learn as I go.
If you have any idea as to what may be causing this error, I'd greatly appreciate it!