Check out example codes for "hardness of water is due to the presence of salts of". It will help you in understanding the concepts better.

Code Example 1

Due to presence of Ca & Mg salts

Learn ReactJs, React Native from akashmittal.com