JSFiddle - React, Tailwind, and code Playground
by jeremyperson
HTML
<div>
<p id="floatRight">This is a Test</p>
</div>
JavaScript
//Get the url and assign it a variable name. In this case, url. How creative.
var url = $(location).attr('href');
//If the address is the one we're looking to change, inject some CSS.
if(url.indexOf('https://jsfiddle.net/') != 1){
//Then float the id and classes you need to the right.
$('#floatRight').css('float','right');
alert("test");
}