Avoid these phrases because like is a preposition and should be followed by a noun, noun phrase, or pronoun.
- They dressed as (not like how) they did in the 1970s.
- They dressed like (not like in) disco dancers from the 1970s.
- Jim does things for the poor, like (not like when) serving free meals.