html+css+js simple

by devdev

HTML

<span id="ct">colored text(click to turn text to green)</span>

CSS

#ct {color: blue;}

JavaScript

$("#ct").click(function(){
$(this).css('color', 'green')
})