Although I'm not an expert in HTML, I am eager to create a basic bootstrap button in HTML that can be enabled and disabled. My question relates to the following scenario:
<div class="button" onClick=doSomething >My Button</div>
I am curious if this is the correct approach to prevent the same button from being clicked again:
<div class="button disabled" onClick=doSomething >My Button</div>
Would appreciate your guidance!