I made a simple guess the letter game. I want to display the letters guessed in the html after I type them. What can I use to do that?
1 Answer
Many ways to do this; perhaps quickest and easiest is with jQuery.
- Include Jquery in your page
Make a div element and give it an ID.
After a letter is guessed/typed, use .appendTo(), .html(), .val(), or the like to add the guess to the list
1 Comment
Brian Patrick
Thank you! That helped out a lot.