RAILWAYS ROUTE DESIGNER: TRICKLES ELAPSED TIME: 10:25

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter10: Application Development
Section: Chapter Questions
Problem 15VE
icon
Related questions
Question
COMPLETE THE FOLLOWING CODE SO THAT WHEN startBtn is clicked the timer starts going, and place the route designer, time containing div beside the matrix with a borderline.
 
HTML:
<div id="game-page" class="w-2/3 mx-auto rounded-xl mt-10 bg-base-300 ">
<h2>Railways Game</h2>
<div>
<h3id="name">ROUTE DESIGNER: </h3>
<h3id="times">TIME: </h3>
</div>
<buttonid = "backBtn"class="w-full mx-auto btn btn-primary m-5">Back to Menu</button>
</div>
JS:
startBtn.addEventListener('click', startGame)
function startGame(){
menuDiv.style.display='none'
gameDiv.style.display='block'
rulesDiv.style.display='none'
ldrDiv.style.display='none'
document.querySelector('#name').innerHTML="ROUTE DESIGNER: "+nameInput.value
//document.querySelector('#times').innerHTML = "TIME ELAPSED: " 
}
RAILWAYS
ROUTE DESIGNER:
TRICKLES
ELAPSED TIME:
10:25
Transcribed Image Text:RAILWAYS ROUTE DESIGNER: TRICKLES ELAPSED TIME: 10:25
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L