Hi Linda,
I’m not entirely sure about what is not working in your code component.
My suggestion is to don’t use a code component! It seems to be that anything you want to do can be achieved inside the builder:
- You can create an excel file for the looping, containing the two definition in each row and just set the loop to randomise
- Then you can have two text box on the screen that display the two definition
- For the participants response you can have a keyboard component (e.g. lelf and right arrow) , OR you can have a mouse response by placing two invisible polygons behind the text responde and having the participant click on the right answer
Tandy