Answer:
Information could be gathered using cookies, which are small files websites store on your computer after your first visit to track user activity.
Explanation:
In order.
You have to be able to see if its on the left or right side of the midpoint
Document.write()
I'm not sure that this is a method, but I think this is right.