Question: how many valence electrons for carbon?
Answer: When bonded with a full octet (such as in methane) carbon has eight valence electrons (two per covalent bond). Each hydrogen atom has two valence electrons.