This is an example repo for students to practice onclick event handling in JavaScript.
-
Before starting, run
npm installornpm ito install dependencies. -
Open up
index.html,src/index.js, andstyles/style.cssto see the code. -
Double click the
index.htmlfile in the root of the repo to open it in a browser.