jquery toggleClass method with example

HTML

CSS

Javascript