Wednesday 28 November 2018

How to evaluate the values from user inputs?

Hello! I'm doing a simple application with MEN stack, and I need to evaluate if the user inputted the right answer or not, I know how to do this in other languages but I'm having trouble wrapping it up using Node.I want to know what's the best way to achieve the same feel as when programming with C# or Java:Example:if(textbox.text == "answer a"){conter++;}Something as simple as that but how do I get the value from the input and evaluate it correctly when the user hits a button to verify?Thanks in advance!

Submitted November 28, 2018 at 11:07PM by TheBlueGemini

No comments:

Post a Comment