there is an excess of positively charged holes (which are vacancies due to the lack of valence electrons). Near the junction of the two layers, the electrons on one side of the junction (n-type layer) ...
When two hydrogen atoms get close enough, the electron from each atom feels an attraction from the proton in the other atom's nucleus. This attraction pulls the atoms together. The electrons end up ...