Mod 2
Refactor Tractor Fitlit A is an fitness dashboard that shows a users health stats as well as health stats as their friends. Simple enough, right? While the user interface seems simple enough, under the hood we were given code that sorely needed to be refactored. The goal of the project was to refactor the code so it was dry as possible, connect the DOM to API endpoints rather than using data from a JS file, ensure app follows best practices for accessibility and incorporate SCSS into our styling.
- Javascript
- HTML
- CSS/SCSS
- Mocha
- Chai
- WAI-ARIA
- Lighthouse
- Fork the repo, then clone down to your machine.
- Once you have cloned the repo, change into the directory and install the project dependencies. Run
npm install
to install project dependencies. - Run
npm start
in the terminal to see the HTML page (you should see some boilerplate HTML displayed on the page) when you navigate tohttp://localhost:8080/
- The project spec & rubric can be found here