Skip to content

Commit

Permalink
uncomment code
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Aug 20, 2021
1 parent 5a97756 commit 178a680
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@

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

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

0 comments on commit 178a680

Please sign in to comment.