A word matching game

Hi,
I am tring to create a simple quiz game in which students are supposed to click/drag the correct word into inputbox and if the answer is correct his /her score will be +10
Now I placed ten “inputboxes” on the stage .How can I code it so that the word entered is correct and I get 10p ?
“the words are=” am…is…are"

    on(press){ 
if(txt1.text=="are") 
{ 
score++ 
}else{ 
score?? 
} 
} 

my first imput box has the var name “txt1”
and the second text box(dynamic) has the instance name" score"
thanks