The ratio of reactant in grams would be influenced by the reaction equation and the molar mass of the elements. But the ratio of a reactant needed in grams would be same for a reaction.
If 2 grams of element X combine with 4 grams of element Y to form compound XY, it means the ratio of reactant in grams<span> would be 2:4 or 1:2
The number of element X needed for 28grams of element Y would be:
1/2 * 28grams = 14 grams.</span>
You will need to go on yt
When, it donates electons.
as for example take
NaCl ( sodium chloride)
it's an ionic compund,
that means it is formed by donating or gaining electrons
Na is writen first than, it must be electropositive i.e it has donated electons which made it positive and the clorine gains electron so it's electronegative.
Na is positive because
as we know it's atomic number is 11 that means it has 11 protons and 11 electrons
now, when it donate electon it has, greater number of protons whose change is +ve so the atom becomes overall positively charged ion or cation.
and something same happens in clorine and because it gains one electron and the number of electrons increase in it by 1 whise charge is -ve so, the atom becomes negatively charged ion or anion which has a -1 charge.