<div class="container"> <div class="input-box"> <button type="button" onclick="minus()" style="font-size: 20px;">-</button> <p id="counter">0</p> <button type="button" onclick="plus()">+</button> </div> </div> Run code snippet