fiddlePlus

by BinaryAcid

HTML

<script src="http://jslib.dotcloud.com/fiddle-require.js"></script>
<div class="yellow">
<h1>hello there</h1>
<h1>hello there</h1>
</div>    
    
<div class="red">   
<h1>hello there</h1>
<h1>hello there</h1>
</div>

JavaScript

$(function() {
    
//$(".yellow h1").css("background-color", "yellow");

    
    
$(".red h1").css({"background-color" : "red"});    
    
});