JSFiddle - React, Tailwind, and code Playground
HTML
<script>
onload = function ()
{
for (var lnk = document.links, j = 0; j < lnk.length; j++)
if (lnk [j].href == document.URL) lnk [j].style.backgroundColor = '#FF0042';
}
</script>