Hey guys, I'm very new to all this and am just trying to learn a bit. I'm trying to make a simple app and i can't figure out how to take the info a user puts in my input box and check it to display different thing based on what they put. It's a simple app for finding your out in a dart game. I have the input box and if the user types "180" i want it to redirect to an image i made showing what to aim for. if they type 150, it would redirect to a different image. and so on. I figured it would be a simple "if(var userInput = "180")" then do x, else... But apparently I'm a super noob haha. I'm having a heck of a time expressing this question in google searches to figure out what to study lol. any help would be appreciated, thanks all.
↧