
The codes are shared under Creative Commons license: Attribution-NonCommercial 4.0 International (CC BY-NC 4.0).

An example of the perceptual learning module:
https://www.mv.helsinki.fi/home/vsalmela/PLM/demo/
This example uses pictures downloaded from wikipedia. 
No data/responses are stored, but you get feedback (correct/chosen image + total %-correct).

If you want to use this version on your on own website, you can download it from here:
https://www.mv.helsinki.fi/home/vsalmela/PLM/demo.zip


An example of the perceptual learning module (without pictures):
https://www.mv.helsinki.fi/home/vsalmela/PLM/nopics/

If you use our code, please cite our articles: 
Salava, A. and Salmela, V. (2022), Perceptual learning modules in undergraduate dermatology teaching. Clin Exp Dermatol. In press. https://doi.org/10.1111/ced.15201 
and/or:
Salava, A. and Salmela, V. (submitted). Perceptual learning in dermatology - a Finnish cohort study of undergraduate medical students.

And please site also: 
de Leeuw, J. R. (2015). jsPsych: A JavaScript library for creating behavioral experiments in a web browser. Behavior Research Methods, 47(1), 1-12. doi:10.3758/s13428-014-0458-y.


To use the code with your own images, just dowload the zip file:
https://www.mv.helsinki.fi/home/vsalmela/PLM/demo.zip
or
https://www.mv.helsinki.fi/home/vsalmela/PLM/nopics.zip

And replace images in the stims-folder (filename D = diagnosis, T = target, D = distractor (A,B,C...G))

And modify the instructions/text in the index.html file if needed.
