diff --git a/js/example.js b/js/example.js new file mode 100644 index 00000000..7cb5b7d1 --- /dev/null +++ b/js/example.js @@ -0,0 +1,4 @@ +window.onload = function() { + console.log('hello from example') +} + diff --git a/js/index.js b/js/index.js index 8289b7e4..4f8a3ad3 100644 --- a/js/index.js +++ b/js/index.js @@ -1,6 +1,5 @@ import classes from '../styles/atat.scss' -import './thing' - -console.log('hellooooo') +import './example' +console.log('hello from index') diff --git a/js/thing.js b/js/thing.js deleted file mode 100644 index 033b8cd3..00000000 --- a/js/thing.js +++ /dev/null @@ -1,7 +0,0 @@ -console.log('hanlo again') -window.onload = function() { - console.log('boop') - const thing = document.querySelector('#hello') - thing.innerHTML = 'hanlo friendo' -} -