``setAttribute`` is about setting the HTML attribute to a string. You are confusing things with ``element.dataset``