just trying out html js css
A Pen by Prasanna N on CodePen.
<div> | |
<p> Hi Gowtham! </p> | |
</div> |
$("div").on('click', function(){ | |
$(this).css('background-color', 'red'); | |
}); |
just trying out html js css
A Pen by Prasanna N on CodePen.
div { | |
background: cyan; | |
} |