Inline Javacript

The plain vanilla inline javacript version.

I’ve messed about by adding Bulma classes to this one.

0

<section class="counter1">
  <output id="my-output1">0</output>
  <button
    onclick="document.querySelector('#my-output1').textContent++">Next</button>
</section>