I'll help you if you help me.
Is the sentence compound or complex?
I think it's a complex sentence as it has a dependent clause i.e 'if you help me'.
Yes, it is a complex sentence. It has two dependent clauses: "help you" (as complement of "will), and "you help me" (as complement of "if") Note that "if" is a preposition, so "if you help me" is a preposition phrase with the subordinate clause "you help me" as complement of "if".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Yes, it is a complex sentence.
It has two dependent clauses: "help you" (as complement of "will), and "you help me" (as complement of "if")
Note that "if" is a preposition, so "if you help me" is a preposition phrase with the subordinate clause "you help me" as complement of "if".