- Using vs code
- Go to exercise 1 folder
- Run npm install in your terminal
- Run npm run prod in your terminal
- Install and run live server extension and access index.html
- Used mix for simplified webpack configuration
- Used sass pre-processor, to have nested rules, mixins and imports
- Used BEM as a naming convention for css classes for readability of elements and its scope
- Used ITCSS as file structure to organize my css files
- Used Bootstrap utility classes
- Using vs code
- Go to exercise 2 folder
- Run npm install in your terminal
- Run npm run serve in your terminal
- The plus sign before the second 'a' makes the code coerces a string to a number which will return a NaN (not a number),
- Normally 'b' + 'a' + 'a' + 'a' will just return 'baaa', but because of the plus sign before the second a it returns a baNaNa,
- '.toLowerCase()' transforms the string to lowercase including na NaN.