Skip to content

Javascript variable not being recognized in subsequent functions #21505

Answered by fire-eggs
jossg14 asked this question in General
Discussion options

You must be logged in to vote

Programming is absolutely unforgiving. 

msg.innerHTML = "Sorry" + res + "," guess + " is invaild, but won't hurt your score! Guess a # 1-100";

You are missing the plus sign between “,” and guess.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants