-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebug-test.js
More file actions
27 lines (24 loc) · 839 Bytes
/
Copy pathdebug-test.js
File metadata and controls
27 lines (24 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Quick debug test
console.log('🧪 Debug test script loaded');
// Test imports
try {
import('./src/js/modules/content-loader.js').then(module => {
console.log('✅ ContentLoader module loaded:', module);
}).catch(err => {
console.error('❌ ContentLoader failed:', err);
});
} catch (err) {
console.error('❌ Import failed:', err);
}
// Test if HTML elements exist
setTimeout(() => {
const elements = {
'proj-grid': document.getElementById('proj-grid'),
'filter-chips': document.getElementById('filter-chips'),
'primary-nav': document.getElementById('primary-nav'),
'brand-name': document.getElementById('brand-name'),
'hero-name': document.getElementById('hero-name'),
'social-links': document.getElementById('social-links')
};
console.log('📋 Element check:', elements);
}, 100);