Files
konami.js/example.html
T

26 lines
494 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<title>Konami code example</title>
<script src="konami.min.js"></script>
<script>
konami(function () {
var html = document.getElementsByTagName('html')[0];
html.style.backgroundColor = 'black';
html.style.color = 'white';
});
</script>
</head>
<body>
<h1>Chicken is a fish.</h1>
<p>You did not know that, did you? Well now you do. Also, ostrich is a fish.</p>
<p>Hint: the code is <code>↑↑↓↓←→←→BA</code></p>
</body>
</html>