Faaaah (copy to edit)

This commit is contained in:
2026-02-26 20:12:56 +10:00
parent 9a219093a0
commit 76555d27a4
7 changed files with 762 additions and 0 deletions

23
lab1/JavaScript/main.js Normal file
View File

@@ -0,0 +1,23 @@
document.addEventListener("DOMContentLoaded", function () {
doInit()
})
function doInit() {
createTable(buildings, 'list');
const clearFiltersButton = document.getElementById("clearFiltersButton")
clearFiltersButton.addEventListener("click", (event) => {
clearTable("list")
})
const applyFiltersButton = document.getElementById("applyFiltersButton")
applyFiltersButton.addEventListener("click", (event) => {
filterTable()
})
}