LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code
I'm in Div One, seems like a nice place.

I'm in Div Two, it's better here
CSS
#div1{
  color:#000000;
  background-color:#999966;
}
#div2{
  border-style:solid;
  border-width:1px;
  border-color:#000000;
  background-color: #ff4da6;
}
JS
var d1 = document.getElementById("div1");
var d2 = document.getElementById("div2");
d1.onclick = function () {
  d1.style.backgroundColor = "#ffff00";
  var x = document.getElementById("div1");
  x.innerHTML = "BLOODY GREAT WORK";
}
Term
Sat, 01/13/2018 - 08:35

Related Codes

Pen ID
Pen ID
Pen ID
Square Adv