An important step in creating confidence intervals for proportions is to check whether the success/failure conditions have been met otherwise the interval created will not be valid (i.e. we should not have created that interval)!
The following examples are estimating the proportion of the population who likes avocado. Try to determine whether or not the assumptions have been met.