Skip to content
Discussion options

You must be logged in to vote

Hi
you can check out the demo of jspsych 👍 https://www.jspsych.org/7.2/tutorials/hello-world/

Usually, I save my cognition code into js file,
and then I add this js file in the <head> of html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>experiment</title>

   <script src="https://unpkg.com/[email protected]"></script>
    <link href="https://unpkg.com/[email protected]/css/jspsych.css" rel="stylesheet" type="text/css" />

<!-- plugin you used in your experiment  -->
   <script src="https://unpkg.com/@jspsych/plugin-html-keyboard-resp…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lana-mrkonja
Comment options

Answer selected by becky-gilbert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants