How do I check to see if a friend is on Facebook?

Go to your home page and at the left u'll see all this stuff like news feed , messages , games ads and pages and etc. and it will also say , Friends online and it will show what friends are online.