Write a Java script program to create a number guessing game.if the number is correct display the greeting message.the webpage must be display the previously guessed and randomly generated number in the webpage.
Answers
Answered by
1
1. document.getElementById(“id given”): document.getElementById() is used to fetch an element from the HTML page having the id as provided (specified) by the user.
“.value” is used to access the value of the HTML element accessed.
Similar questions