custom data attributes html
<div data-myvar="hello world"</div>
<script>
//Note: attribute in html will force lowercase, make sure all letters are lower
var element = document.querySelector("div");
console.log(element.dataset.myvar);
//outputs: hello world
</script>