parent
7c0413b7a0
commit
a2f187dfad
@ -0,0 +1,16 @@ |
|||||||
|
.selected { |
||||||
|
font-weight: bold; |
||||||
|
} |
||||||
|
|
||||||
|
#ghosting, #resize { |
||||||
|
width: 200px; |
||||||
|
height: 200px; |
||||||
|
} |
||||||
|
|
||||||
|
#ghosting { |
||||||
|
background-color: #ddd; |
||||||
|
} |
||||||
|
|
||||||
|
#resize { |
||||||
|
background-color: orange; |
||||||
|
} |
@ -0,0 +1,7 @@ |
|||||||
|
console.log("Javascript is alive!"); |
||||||
|
|
||||||
|
window.onload = function() { |
||||||
|
document.querySelector('body').addEventListener('keypress', function(e) { |
||||||
|
console.log(e) |
||||||
|
}) |
||||||
|
}; |
Loading…
Reference in new issue