Skip to content

Instantly share code, notes, and snippets.

@apelmahmudDev
Last active August 11, 2021 14:32

Revisions

  1. apelmahmudDev revised this gist Aug 11, 2021. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions event-example2.js
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    document.querySelector('#signup').addEventListener('click', () => {
    console.log('Sign up button click');
    console.log('Sign up button click');
    });

    document.querySelector('#signin').addEventListener('click', () => {
    console.log('Sign in button click');
    console.log('Sign in button click');
    });
  2. apelmahmudDev renamed this gist Aug 11, 2021. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. apelmahmudDev revised this gist Aug 11, 2021. No changes.
  4. apelmahmudDev created this gist Aug 11, 2021.
    7 changes: 7 additions & 0 deletions event-example2.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    document.querySelector('#signup').addEventListener('click', () => {
    console.log('Sign up button click');
    });

    document.querySelector('#signin').addEventListener('click', () => {
    console.log('Sign in button click');
    });