Some useful tips to help you get started:
- Check out the repository
- To inspect the site on your phone, you can run a local server
$> cd /path/to/your-project-folder
$> python -m SimpleHTTPServer 8080
- Open a browser and visit localhost:8080
- Download and install ngrok to make your local server accessible remotely.
$> cd /path/to/your-project-folder
$> ngrok 8080
- Copy the public URL ngrok gives you and try running it through PageSpeed Insights!
- PageSpeed score >= 90
- index.html
- move necessary CSS from external link to index.html directly
- reorder CSS, and JS to optimize rendering path
- 60 fps
- resize < 1ms
- views/js/main.js was edited to improve performance
- moving DOM queries out of loops
- using classes instead of inline styles
- animate with 2D
translate
instead oftop
andleft
- pizza.html was also modified
- include new CSS styles to ease use of inline styles