Skip to content

Commit 29eb4f1

Browse files
uncomment code
1 parent b2ed05d commit 29eb4f1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/templates/page.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525

2626
// Standard DOM APIs work with Web Components just like they do for
2727
// built-in elements.
28-
// const button = document.querySelector('#myButton');
29-
// button.addEventListener('click', () => {
30-
// alert('You clicked!');
31-
// });
28+
const button = document.querySelector('#myButton');
29+
button.addEventListener('click', () => {
30+
alert('You clicked!');
31+
});
3232
</script>
3333

3434
<link rel="stylesheet" href="../styles/theme.css"></link>

0 commit comments

Comments
 (0)