first commit

This commit is contained in:
Arnaud Delcasse
2025-12-30 12:14:33 +01:00
commit 95e3bad443
105 changed files with 4997 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
document.addEventListener('DOMContentLoaded', function() {
// Solution cards - open with toggle button
document.querySelectorAll('.solution-toggle').forEach(function(btn) {
btn.addEventListener('click', function() {
this.closest('.solution-card').classList.add('open');
});
});
// Solution cards - close with X button
document.querySelectorAll('.solution-close').forEach(function(btn) {
btn.addEventListener('click', function() {
this.closest('.solution-card').classList.remove('open');
});
});
});