I need help creating a thumbs up thumbs down button. My challenge is: 1: it does not count for both thumbs, instead counts for one 2. There is no space between the word "Bad" and the counter. 3. I want it to continue counting if anyone clicks on it when they come to the site. Here is a link to the pen: https://codepen.io/abdulhaldu/pen/RwWpKGV
<button onclick="clickCounter()" type="button" class="btn btn-success"><i class="fa fa-thumbs-up"></i><span class="vl"></span><div id="result"></div></button>
<button onclick="clickCounter()" type="button" class="btn btn-danger"><i class="fa fa-thumbs-down"></i><span class="vl"></span> <div id="secondresult"</div></button>
Many thanks