You did a great job creating an up- and downvoting feature on a webpage!

Try running your webpage and tapping the buttons a few times to see it in action.

<html>
<head>
  <script>var counter = 3;

function upvote() {
counter  = counter + 1;

var votes = document.getElementById("votes");
votes.innerHTML = counter + " votes";
}

function downvote() {
counter  = counter - 1;

var votes = document.getElementById("votes");
votes.innerHTML = counter + " votes";
}</script>
</head>
<body>
  <h1>Bear of the Year</h1>
  <img src="https://mimo.app/r/panda.png"/>
  <p><em>Nom nom nom</em></p>
  <p id="votes">3 votes</p>
  <button onclick="upvote()">Upvote</button>
  <button onclick="downvote()">Downvote</button>
</body>
</html>]]>