Hello! There are two buttons: 1 button: Starts the timer
<button id='111' onclick='onClick();'>Получить балл</button> <span id='time'></span> 2 button: Accrues Points after clicking and immediately starts the timer
<div id='example' style=' display: none; '> <input type='submit'name='222' value='Получить бонус'id='111' onclick='onClick();'> Question: How to make so that 1 button immediately after clicking enrolls a score and starts a timer?