- Make sure you are signed into GitHub
- Here's a video explaining how to do it
- Navigate into the project directory: cd web-workbook
- Run npm installin your terminal
- Run npm startin your terminal
- Navigate to this IP Address in your browser: http://127.0.0.1:8080.
- To break out of your server, press ctrl+c
- Run npm run lintin your terminal
- HTML Lint checks for HTML Syntax errors (e.g. indentations and tag closures).
- CSS Lint checks for CSS erros (e.g indentation, tag closures, duplicated properties).
- ES Lint checks for proper JavaScript syntax (e.g. indentation and default style guide).
- To avoid Lint errors, be sure to indent with 2 spaces (hitting the space bar twice).
- If there are no errors, your code has passed the Lint Process.
- The terminal will say something like this:
> [email protected] lint /Users/cLo/Desktop/web-workbook
> htmllint {*.html,./**/*.html} && stylelint ./**/*.css && eslint --config .eslint.json .
[htmllint] found 0 errors out of 18 files- Run npm test 08week/tic-tac-toe/test.jsin your terminal
- Run npm test 09week/towers-of-hanoi/test.jsin your terminal
