first commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
console.log('Another view')
|
||||
|
||||
const button = document.getElementById('show-alert-button');
|
||||
if (button) {
|
||||
button.addEventListener('click', function (e) {
|
||||
e.preventDefault();
|
||||
|
||||
alert('Danger!');
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user