<p>If you click me. . . I'm going to explode.</p>
<p>If you click me. . . I'm going to explode too.</p>
<h1>If you click me. . . Well, let me think about it.</h1>
h1,p {
  cursor:pointer;
  font-size:19px;
}
$("p").click(function() {
    alert("jQuery Boom!");
});

/*
var p=document.getElementsByTagName("P");

function boom() {
	alert("Boom!");
}

for (var i=0,t=p.length;i<t;i++) {
	p[i].addEventListener("click",boom);
}
*/


External CSS

  1. http://digitallearning.esc4.net/pixels4kids/codepen/css/basic.css

External JavaScript

  1. //cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js