Tablets have bigger batteries than phones and need more power to charge.
1. Use a wall charger of at least 2A or 10W. Phone chargers may charge a tablet very slowly or not at all while it is in use.
2. Try another cable. Long thin cables lose power.
3. Clean the charging port with a wooden toothpick.
4. Let a fully flat tablet charge for an hour before expecting it to turn on.
5. Check with a USB meter how much current it takes.
6. If the plug feels loose in every cable, the port is worn and needs replacing.
Kids' tablets often have damaged ports from being used while charging. A cable holder or short cable helps.