I want to make a function in the HTML code itself that every time we press a button a meter adds up to six and when it reaches the limit (6). Leave the button disabled. Any help?
This is the button:
<button type="button" onclick="random()">Lanzar dado !!!</button>