JSFiddle - React, Tailwind, and code Playground
HTML
<a href="#"> click me </a>
<div id="contactColumn">
Some lorem ipsum content here
</div>
CSS
#contactColumn {
height: 200px;
width: 300px;
}
JavaScript
$("a").click(function(e) {
e.preventDefault();
for (var i = 0; i < 3; i++ ) {
$("#contactColumn")
.animate( { backgroundColor: "#f00" }, 2000 )
.animate( { backgroundColor: "transparent" }, 2000 );
}
});