Question: are grammar and spelling the same thing?
Answer: English grammar applies to the language, whether it's written or spoken; but spelling, punctuation, and capitalization are strictly for writing.