Ah. Thank you. This helped a lot, and I see where I was making a lot of mistakes. I am new to this, so your insight is much appreciated.
I was messing around with it, and I do have a few questions:
Say the user guessed correctly in their 1st or 2nd attempt, how would you get it to write, for example, "You guessed correctly on your 2nd attempt?"
And for that matter, would there be a way to to keep track of their previous guesses in the inner HTML?