Added some bling to the easter egg.
This commit is contained in:
parent
e03988f28a
commit
c9b86e846b
1 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,11 @@
|
|||
{% extends 'layout.html' %}
|
||||
|
||||
{% block style %}
|
||||
.clicked {
|
||||
outline: 2px solid red;
|
||||
}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
{% for x in range(level + 3) %}
|
||||
|
@ -21,6 +27,7 @@
|
|||
|
||||
document.querySelectorAll('.form-check-input').forEach(checkbox => {
|
||||
checkbox.addEventListener('change', function() {
|
||||
checkbox.classList.toggle('clicked');
|
||||
const [x, y] = this.id.split('-').slice(1).map(Number);
|
||||
const neighbors = [
|
||||
[x - 1, y],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue