Added some bling to the easter egg.

This commit is contained in:
Yaro Kasear 2025-07-29 13:21:12 -05:00
parent e03988f28a
commit c9b86e846b

View file

@ -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],