For the halogenoalkane with NaOH condition (the second one), I said that it has to be heated under reflux.
But for the elimination condition, I said that it must be dissolved in ethanol. It didn't cross my mind to put 'dissolved in water' for the NaOH (the second condition question below the elimination one). But then again, aren't we assuming that dilute NaOH is dissolved in water?