I don't think we should use `indexOf` here as well. `querySelector` can do that job better.