I love the both of speaking and grammar.
Someone said that this sentence isn't right because the two words of
speaking and grammar are not parallel. He said the "grammar" should be writing for matching the "speaking" but I thought it has changed the meaning.

Are the two words of speaking and grammar parallel? Does parallel structure depend on part of speech?
Thank you so much!