Help on project (2 player dice roll game)

Hi, I am trying to make a dice game where 2 players compete whos dice has a higher value. It works by having a countdown timer that triggers when the “start” button is press, after which a countdown timer of 3 seconds will be displayed and 2 random dice value is shown.

I am stuck after the countdown timer has finished as my intention was to add 2 random dice images after the timer is done.

I’m unsure what event to use or how to check if the value is “go” before adding content by js after the countdown is done, I try to check if the value is “Go” inside the button click event but no avail. Help is appreciated

You could usually check the content of an html by selecting its container. div or a p then call .innerText or textContent.