move styles and js to the root directory
This commit is contained in:
6
js/index.js
Normal file
6
js/index.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import classes from '../styles/atat.scss'
|
||||
|
||||
import './thing'
|
||||
|
||||
console.log('hellooooo')
|
||||
|
7
js/thing.js
Normal file
7
js/thing.js
Normal file
@@ -0,0 +1,7 @@
|
||||
console.log('hanlo again')
|
||||
window.onload = function() {
|
||||
console.log('boop')
|
||||
const thing = document.querySelector('#hello')
|
||||
thing.innerHTML = 'hanlo friendo'
|
||||
}
|
||||
|
Reference in New Issue
Block a user