# Running HTML experiment quick question

**URL:** <https://discourse.psychopy.org/t/running-html-experiment-quick-question/3106>\
**Category:** Builder\
**Created:** [September 21, 2017, 11:23pm UTC](https://discourse.psychopy.org/t/running-html-experiment-quick-question/3106 "2017-09-21T23:23:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavyS](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@DavyS](https://discourse.psychopy.org/u/DavyS)\
**Post date:** [September 21, 2017, 11:23pm UTC](https://discourse.psychopy.org/t/running-html-experiment-quick-question/3106/1 "2017-09-21T23:23:39Z")

</div>

Hey everyone,

Doing a dissertation in my final year of psychology undergra, and I’m trying to get a trial version of my experiment to load up in my browser, so I can put it on a webserver and eventually online for the world to use!

**OS** (e.g. Win10): WIN10  
**PsychoPy version** (e.g. 1.84.x): 185.2  
**Standard Standalone? (y/n)** y  
**What are you trying to achieve?:**  
Trying to test my experiment online by running the index.html

**What specifically went wrong when you tried that?:**  
When I load up my experiment in the browser, it seems to load fine except the first window where you can select/input “participant number” and “session number” at the top says "fields with an asterisk (\*) are required. In this window, the “ok” button stays greyed out, regardless of what I put into both fields, causing me/anyone to be unable to actually start the experiment.  
What am I doing wrong? How can I fix this?

Apologies for the probable silly question!

Kind regards,

Davy

---

<div class="post-metadata">

**Author:** ![DavyS](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@DavyS](https://discourse.psychopy.org/u/DavyS)\
**Post date:** [September 27, 2017, 12:47pm UTC](https://discourse.psychopy.org/t/running-html-experiment-quick-question/3106/2 "2017-09-27T12:47:42Z")

</div>

Hi guys,

Any help on this? It’s such a silly issue. I’ve tried opening the index.html in multiple browsers but just cannot press the “ok” button to actually start the experiment. This even happens with the pre-made demos when exported to HTML.

Any help would be greatly appreciated…

 ![help](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/e/1/e1737796aba2b2fbb0f4e109db069e65e10c5778.png)

Thank you so much,

Davy

---

<div class="post-metadata">

**Author:** ![fionakirton](https://avatars.discourse-cdn.com/v4/letter/f/73ab20/32.png) [@fionakirton](https://discourse.psychopy.org/u/fionakirton)\
**Post date:** [September 27, 2017, 2:03pm UTC](https://discourse.psychopy.org/t/running-html-experiment-quick-question/3106/3 "2017-09-27T14:03:32Z")

</div>

Hi Davy,

The problem is likely to be that you’re trying to open your web page directly in the browser. You need to access your site through a web server. A local server is fine if you’re still at the stage of testing your code. I use MAMP ([https://www.mamp.info](https://www.mamp.info)), which is free and available for both Mac and Windows.

Fiona.
