SzabiSch / bootcamp-schedule

0 stars 0 forks source link

First JavaScript Web App: Read New Todo #75

Closed codingbootcampseu closed 3 years ago

codingbootcampseu commented 3 years ago

Hints

Find elements within the document.

const button = document.querySelector('button');

Attach event listener to element.

const button = document.querySelector('button');
button.addEventListener('click', function() {
  alert("yeah!");
});

Example Solution and Comparison

SzabiSch commented 3 years ago

Version 0.1 is done