Are kids e-bikes legal in the UK?

What age can you legally ride an e-bike in the UK? We take a look at the law……