Ostatnie szlify na dziś...chyba

This commit is contained in:
Dark Steveneq
2025-09-22 22:46:30 +02:00
parent fed06b2f13
commit 47159a92c8
4 changed files with 38 additions and 11 deletions

View File

@@ -67,7 +67,7 @@ class Liczby {
for (let i = 1; i <= 100; i++) {
/** @type {HTMLButtonElement} */
const przycisk = document.getElementById(i);
const przycisk = document.querySelector("button[id=\"" + i + "\"");;
przycisk.onclick = ev => {
this.#strzal(ev);
}
@@ -94,7 +94,7 @@ class Liczby {
}
for (let i = 1; i <= 100; i++) {
/** @type {HTMLButtonElement} */
const przycisk = document.getElementById(i);
const przycisk = document.querySelector("button[id=\"" + i + "\"");
przycisk.className = "";
}
this.#elementy.wygrana.className = "dialog dialog-ukryj";
@@ -133,7 +133,7 @@ class Liczby {
for (let i = 1; i <= 100; i++) {
/** @type {HTMLButtonElement} */
const przycisk = document.getElementById(i);
const przycisk = document.querySelector("button[id=\"" + i + "\"");;
przycisk.className = "";
}

View File

@@ -57,7 +57,17 @@ class Footer extends HTMLElement {
</div>
<strong>Strona &copy; Dark Steveneq, 2025; Nazwę wymyślił Youpiter</strong> <sub>#GradientySąSuper</sub>
</div>
<img src="assets/images/blahaj.png" height="128">
<div style="flex-grow: 0; flex-direction: row;">
<iframe
src="https://youads.nonamesoft.xyz/ads/site"
title="YouAds Ads Site"
height="150"
style="border: medium; max-width: 600px; width: 600px; height: 150px;"
loading="lazy"
>
</iframe>
<img src="assets/images/blahaj.png" height="128">
</div>
</footer>
`;
}