diff options
| author | triethyl <triethylammonium@pm.me> | 2025-09-29 13:53:48 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-09-29 13:53:48 -0400 |
| commit | 41924391280f3ab06396dc9f88a2e4117904f853 (patch) | |
| tree | 279d79c2548408a9d80fad9605370a43ed700e89 /site/themes/tui/assets/js | |
| parent | bc678e31c9dbc1a33febe8f5a5107ab2eab5aa62 (diff) | |
made site
Diffstat (limited to 'site/themes/tui/assets/js')
| -rw-r--r-- | site/themes/tui/assets/js/main.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/site/themes/tui/assets/js/main.js b/site/themes/tui/assets/js/main.js new file mode 100644 index 0000000..9c65d22 --- /dev/null +++ b/site/themes/tui/assets/js/main.js @@ -0,0 +1,11 @@ +document.addEventListener("DOMContentLoaded", function () { + console.log("✅ main.js loaded"); + + const heading = document.querySelector("h1"); + if (heading) { + heading.style.cursor = "pointer"; + heading.addEventListener("click", () => { + alert("You clicked the heading!"); + }); + } +}); |
