Chcnged style and added onclick event on example