- Replace
<your_account>with your Github username in the link - Follow this instructions
- Run
npm run testcommand to test your code; - Run
npm run test:only -- -nto run fast test ignoring linter; - Run
npm run test:only -- -lto run fast test with additional info in console ignoring linter.
- Run
Create an image gallery where the main image changes by the click on a thumbnail.
Requirements:
- A click can be either on a small
imgimage or onaoutside of it.event.targetwill be, respectively, eitherimgora.
Notes:
- Use event delegation.
- You must only modify the file
src/scripts/main.js.
