PennController for IBEX › Forums › FAQ / Tips › Create a continue button › Reply To: Create a continue button
Hi Jeremy,
First of all, thank you and Florian so much for providing this amazing and user-friendly library!
I have a question with respect to the buttons. I want two buttons to be on the same page simultaneously. And I want the participants to be able to click either of them. For me, only the second one is clickable. And If I add .wait() to the entry of the first button, the second button does not appear unless I click on the first button. I will be grateful if you let me know what the issue is! Here is my code:
newText(“question”, “<p>Is the above item a word?</p>“)
.print()
,
newButton(“Word”, “<h1>Word ✓</h1>”)
.settings.color(“green”)
.settings.size(150, 70)
.settings.log()
.print()
,
newButton(“Not a Word”, “<h1>Not a Word x</h1>”)
.settings.color(“red”)
.settings.size(150, 70)
.settings.log()
.print()
.wait()
)]
];