CodePen

HTML

            
              <div id="clickme">Click Me!</div>
            
          
!

CSS

            
              
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              function turnRed() {
    this.style.color = "red";
}
b = document.getElementById('clickme');
b.onclick = turnRed;

            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................