how to use data attribute in html code example
Example: get data attribute javascript
//
const el = document.querySelector('#element')
el.dataset.name // 'john'
//
const el = document.querySelector('#element')
el.dataset.name // 'john'