FreeCodeCamp Online Status

A very simple approach, but still not perfect.
Feedback is appreciated.

Codepen