Can I add a custom attribute to an HTML tag like the following?
var demo = document.getElementById("demo") console.log(demo.dataset.myvar) // or alert(demo.dataset.myvar) //this will show in console the value of myvar
anything