JSFiddle - React, Tailwind, and code Playground

HTML

<a id="previous" href="#">The link</a>

JavaScript

$("#previous").attr("control", "-6");