Online vs Lab Experiments

Hello all,

It is my first time collecting data online, and I was wondering if anyone here has tried replicating a lab-based experiment online? Are the results comparable?