JS - Timers
Mouse Move
by Rob Lardy
HTML
<h1> Header </h1>
<p id="myId" >Paragraphs</p>
<Form>
<input id="stuff" type="Text" name="f1"/>
<input type="Text" name="f2"/>
JavaScript
var theid = document.getElementById('myId')
theid.addEventListener('click', function(e) {
console.log(this);
this.style.color = "Red";
});
var theid2= document.getElementById('stuff')
theid2.addEventListener('click', function(e) {
console.log(this);
this.style.color = "Red";
});