added code

This commit is contained in:
2015-04-10 19:40:17 +02:00
parent 553972b6ac
commit da1234ef0a
3 changed files with 54 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Konami code example</title>
<script src="konami.js"></script>
<script>
konami(function () {
var html = document.getElementsByTagName('html')[0];
html.style.backgroundColor = 'black';
html.style.color = 'white';
});
</script>
</head>
<body>
blah blah
</body>
</html>