-1

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?

Brian Patrick
  • 333
  • 5
  • 18

1 Answers1

0

Many ways to do this; perhaps quickest and easiest is with jQuery.

  1. Include Jquery in your page
  2. Make a div element and give it an ID.

  3. After a letter is guessed/typed, use .appendTo(), .html(), .val(), or the like to add the guess to the list

How to add text to an existing div with jquery

https://developers.google.com/speed/libraries/

kmiklas
  • 13,085
  • 22
  • 67
  • 103