JSFiddle - React, Tailwind, and code Playground by moob February 06, 2019 JavaScript alert(window.location.pathname.split('/')[2];