- Replace
<your_account>with your Github username in the link - Follow this instructions
- There are no tests for this task so use
npm run lintcommand instead ofnpm test
- There are no tests for this task so use
Your task: Center the spider using only JavaScript. Yes, it task can be easily done with pure CSS, but not now. Do it with JS.
You no need to write any styles or HTML code in this task. Change only main.js file.
Hints:
- Field has
wallclass. - Spider image has
spiderclass. - Use DOM element's properties for calculating spider position.

