J.R. S. answered 11/24/17
Ph.D. in Biochemistry--University Professor--Chemistry Tutor
The confusion comes mainly from the fact that H is not considered a metal. We are taught that a metal + a non metal makes an ionic bond (ionic compound). The other confounding aspect is that most compounds are neither 100% ionic or 100% covalent. They are both. Looking at the difference in electronegativity between H and Cl, you see that H is 2.1 and Cl is 3.0; so the difference is only 0.9. This does not meet the general criterion for an ionic bond. So, it is mostly covalent (polar covalent at that). Does that answer your question?