Examining the effect of pH on the structural, elastic, magnetic, and photocatalytic activities of Cr–Co3O4 nanoparticles