Change class name on click in jQuery
No-Library (pure JS), HTML, CSS, JavaScript
[Demo] Add Days to a Date in JavaScript
jQuery 1.4.4, HTML, CSS, JavaScript
jQuery 3.3.1, HTML, CSS, JavaScript
The easiest way of creating download link for image or html is setting download attribute, but this solution works in modern browsers only.