no.js add attribute

HTML

<script src="https://ifedapoolarewaju.github.io/nojs-site/no.min.js"></script>
<button no-js on-click-set-attribute=".target data-color blue">
  add attribute
</button>

<button no-js on-click-remove-attribute=".target data-color">
  remove attribute
</button>

<div class="target">
  my color would change
</div>
<br>

CSS

[data-color=red] {
  color: red;
}

JavaScript

// no javascript.