JSFiddle - React, Tailwind, and code Playground

by Alex Cowan

JavaScript

var windowLoc = $(location).attr('pathname');