using ids and data attributes over classes