sample usage of attr instead of data-