Had you read, and more importantly understood, the two links I posted you could have answered your own question.
You asked whether gravity was a law or a theory.
Gravity is neither a law nor a theory. Gravity is a fundamental reaction that causes any object with mass to be attracted to any other object with mass.
The law of gravity is a formula used to predict the effect of gravity.
The theory of gravity is our collected knowledge on the subject of gravity and includes the law of gravity.
So, the law of gravity is one small element of the theory of gravity.
That is a complete and correct answer to your question.
Now, unless you have a clear understanding of the difference between the idea of a theory in common parlance and the idea of a theory in science and how a law in science relates to a theory in science (which you would have if you had read and understood the two links I provided) you’re not going to understand this, despite my explaining it a third time, and you’re going to continue to argue with me instead of saying, “Oh! I get it now. Yes, I was wrong. Sorry, and thanks for the explanation.”
Had you read, and more importantly understood, the two links I posted you could have answered your own question.
You asked whether gravity was a law or a theory.
Gravity is neither a law nor a theory. Gravity is a fundamental reaction that causes any object with mass to be attracted to any other object with mass.
The law of gravity is a formula used to predict the effect of gravity.
The theory of gravity is our collected knowledge on the subject of gravity and includes the law of gravity.
So, the law of gravity is one small element of the theory of gravity.
That is a complete and correct answer to your question.
Now, unless you have a clear understanding of the difference between the idea of a theory in common parlance and the idea of a theory in science and how a law in science relates to a theory in science (which you would have if you had read and understood the two links I provided) you’re not going to understand this, despite my explaining it a third time, and you’re going to continue to argue with me instead of saying, “Oh! I get it now. Yes, I was wrong. Sorry, and thanks for the explanation.”
So, it’s neither a law nor a theory, but also it’s both at the same time.
This is getting a little ridiculous.