No doubt there are varying opinions about this but in my opinion only #3 is correct. Avoiding is a gerund caused by the preposition by . As and is a co-ordinating conjunction, the verb form following it should be a gerund as well (confronting).
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.