A bicycle is a road vehicle. You shouldn’t be riding on the sidewalk.
By the time he rode back and shakily told us what had happened, I had no choice but to inform her at the top of my lungs (since she was 600ft down the path) that, no, it's legal if you're under 16 (in our state).