Little fixes on example code.

I give a nem to paragraph and extend some classes in CSS.
In JavaScript I just control the insertion of .active class in this
element.