data attribute


Posted by mijouhsieh on 2023-03-22

data attribute

Using a data attribute here instead of a class is cuz it makes working with javaScript so much easier cuz u don't have to worry about overlap between ur classes and ur javaScript.


#data attribute







Related Posts

Q&A [3]:變數宣告

Q&A [3]:變數宣告

for...in、for...of

for...in、for...of

在迴圈內依條件判斷新增元素

在迴圈內依條件判斷新增元素


Comments