# If statment help URGENTLY

**URL:** <https://forum.kirupa.com/t/if-statment-help-urgently/326550>\
**Category:** Uncategorized\
**Created:** [December 22, 2011, 8:33pm UTC](https://forum.kirupa.com/t/if-statment-help-urgently/326550 "2011-12-22T20:33:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![purple123](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@purple123](https://forum.kirupa.com/u/purple123)\
**Post date:** [December 22, 2011, 8:33pm UTC](https://forum.kirupa.com/t/if-statment-help-urgently/326550/1 "2011-12-22T20:33:33Z")

</div>

okay im making a quiz like thingy and basically…  
these are the instance names  
markit\_btn1 this is the button that the user clicks to get the results of their answers  
proton number 1 this the input text where the user types in the answer  
pans1 this is the dynamic text that i made where it should say correct or wrong  
can someone please tell me how to make the code im soo confsed this is what i got so far

markit\_btn1.onPress = function() {  
if (proton number 1== “3”) {  
pans1 = “Correct”;  
} else {  
pans1 = “Wrong”;  
}  
please help me:bored::bored::bored:
