How did China’s resistance to modernization and colonial rule contribute to the Qing Dynasty

How did China’s resistance to modernization and colonial rule contribute to the Qing Dynasty and eventual collapse? Discuss how China differed from Japan during this era. 200 words Incorporate at least two listed sources and citations using proper APA format.