it is due to lack of calcium
White spots on nails can be a vitamin or mineral deficiency. They can also be caused by trauma like if you hit your hand against something and very rarely it can be caused by an infection. I would keep an eye on them, eat healthy (lots of fruits and veggies) and watch for other signs of infection. (pain, change in the spots, itching, redness, fever etc.) Remember that nails are a lot like dead skin so the spots may not go away, but any new growth should be free of spots. Good Luck : D
Is it like funny lines of white? I know i went through a stage where if i tapped my nail on something it'd leave a white mark. I'm not 100% but i think it could happen when you don't have enough calcium, and knock your nails. I thi