diff --git a/app/page.ts b/app/page.ts index 807f601..7cc9ef8 100644 --- a/app/page.ts +++ b/app/page.ts @@ -1,5 +1,10 @@ export class Page { public Load() { - // do load here + const thing = document.getElementById('thing') as HTMLElement; + thing.innerHTML = '

mememememe

'; + + thing.onclick = (e) => { + thing.innerHTML = '

blahblahblah

'; + }; } } diff --git a/dist/assets/stylesheets/main.css b/dist/assets/stylesheets/main.css new file mode 100644 index 0000000..8bada34 --- /dev/null +++ b/dist/assets/stylesheets/main.css @@ -0,0 +1,11 @@ +.main { + display: block; + width: 50px; + color: blue; +} + +.sub { + display: block; + width: 100px; + color: red; +} diff --git a/dist/index.html b/dist/index.html index 4931730..d3c1c2c 100644 --- a/dist/index.html +++ b/dist/index.html @@ -7,6 +7,14 @@ - +
+

Hello hello hello hello hello

+
+ +
+

Hi hihihihihihi

+
+ +