JSFiddle - React, Tailwind, and code Playground

by jquerybyexample

HTML

<p>&nbsp;&nbsp;jQuery By Example is a great blog to learn about jQuery.</p>
<br/>
<span>
&nbsp;&nbsp;jQuery By Example is a great blog to learn about jQuery.
</span>
<br/><br/>
<div>

</div>

CSS

body
{
    font-family : Arial;
    font-size : 14pt;
    padding : 10px;
}

JavaScript

$(document).ready(function() {
    $("p").css("background-color", "LightGrey");
    $("span").css({"background-color": "Green","color":"Yellow"});
    $("div").html($('span' ).css("font-size"));;
});