Lemon juice, carbonated soft drink and curd contain acids. Therefore, they turn litmus paper into red.
Moistened NH3 is a base while soap solution contains base. Therefore, they turn litmus blue.
Dry HCl has no effect on litmus as it does not furnish H+ ions in aqueous solutions. Therefore, it does not change its colour.
subjectRed litmusBlue litmusDry HCI gasRedBlueMoistened NH3gasBlue BlueLemon juiceRed RedCarbonated soft drinkRedRedCurdRedRedSoap solutionBlueBlue