This is an incomplete app. I’m using JQuery for a button. My problem is that the document.getElementById(etc.) doesn’t seem to be working. I can get things to console.log but getting the new text to show up on the page doesn’t work. except for when user answers “quit” in the dragon Room. What am I not understanding about how this works? Does the document.get (etc.) not happen until the function is entirely over? Also if I do two unacceptable answers(e.g. go south while in start room) it quits after the second one.
RoomsAdventure<div>
<h2>Dragon game directions...... need options for quit. </h2>
<button id ="begin">Begin Game</button><br>
<!-- <input type="text" name= "input"> -->
<p id="dialogue">Let's begin!</p>
</div>