Preface
Audience
This book is written for anyone who wants to make an Internet-based experiment or questionnaire, but who knows nothing about programming. It is a step-by-step guide that shows how to create online experiments using NeuroTask Scripting. With a few lines of easy-to-learn JavaScript, you can create complex experiments that instantly run online, easily share them, and sit back as your data flows in.
Typographic Convention
Throughout this book, normal text is typeset in the font you are currently reading. Alternatively, when the book gives examples of lines of code, exactly as you would write them in NeuroTask, those pieces of JavaScript appear in a different font for clarity, e.g., “This is a JavaScript text string, shown in a special font to make clear it is not ordinary text”.
Acknowledgements
I would like to thank Julia Broderick-Hale for her revision of the first three chapters of the second edition and for her extensive editing work.