A short adventure game. Feedback appreciated

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>

Hi :slight_smile:
It’s not enough code, can you paste a link with the project or the Javascript Code?

Hmm… I don’t know what happened. I copied the whole thing. Let me try again.

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>

Not sure what to do. I posted it to github to create a link which works… but now I get an error message that says “Sorry, new users can only put 2 links in a post.” I will repost and do it right.