frontend-nanodegree-mobile-portfolio

You can check this project here

index.html

  • Minified HTML and CSS.
  • Optimized images.
  • Internal stylesheet.

pizza.html

  • Internal stylesheet.

##js

  • Use getElementsbyClass, getElementsbyId instead of querySelectorAll for optimized performance.
  • Creat local variables
    • Creat local variables on line 448 ~ 450, to do not touch their value at every iteration.
    • Creat local variables on line 529~531, calculate the number of pizzas needed to fill the screen, based on browser window resolution.
  • And some more...