To optimize a provided website with a number of optimization- and performance-related issues so that it achieves a target PageSpeed score and runs at 60 frames per second.
- Navigate to http://kortiz75.github.io/mobile-portfolio to open up the portfolio site
- Click on "Cam's Pizzeria" to navigate to the pizza site
- Open Chrome Dev Tools to measure the timeline for scrolling and pizza re-sizing
- Open index.html in browser
- Click on "Cam's Pizzeria" to navigate to the pizza site
- Open Chrome Dev Tools to measure the timeline for scrolling and pizza re-sizing
- Install Node
- Install Grunt in the project directory
- Create a Gruntfile.js file and a package.json file in the project directory
- Search for the Grunt tasks you want to use on your project
- Install each task according to the provided documentation
- Use the task documentation to code the Gruntfile.js file
- Run Grunt in the terminal for the project's repository
- Removed determinDx() function from changePizzaSizes()
- Moved repeating numbers from updatePositions() into an array, then iterated through the array
- Changed style.left to style.transform
- Lessened amount of pizzas from 200 to 24
- Moved pizzas into their own layer in views/css/style.css using will-change: transform