Code Monkey home page Code Monkey logo

mobile-portfolio's Introduction

Udacity Project4: Frontend Nanodegree Mobile Portfolio

This is part of the Front-end Web Developer nanodegree from udacity. The project utilizes Website Performance optimization and Browser Rendering Optimization

Usage

Access index.html file

Purpose

Optimize a provided website with a number of optimizaation- and performance- related issues so that it achieves a target PageSpeed score and runs at 60 frames per seconsd.

optimizations

Before optimizing the performance, the score of pagespeed Insight is below.
mobile
notebook
After optimiznig, the scores are 90+ at pagespeed Insight is below.
mobile
notebook

Portfolio page

  1. Minify images both JPEG and PNG using

gulp-image-optimization, gulpimagemin, imagemin-jpegoptim and gulp-image-resize.

  1. Minify CSS files both style.css and print.css using gulp-cssmin.
  2. Inline Google fonts
  3. Remove scripts fomr CRP by inserting async inside.
  4. Inline CSS files into index.html using critical.

Pizzeria page

  1. Replace querySelectorAll into more specific selectors such as getElementById, getElementByClassName.
  2. Eliminate redundant action to change pizza size with slider.
  3. Improve scroll action speed in updatePositions function.
  4. Reduce the number of rendering pizza 200.

Gulp plugins

  1. Image Optimization: gulp-image-optimization, gulpimagemin,imagemin-jpegoptim and gulp-image-resize.
  2. Minify CSS: gulp-cssmin.
  3. Inline CSS into HTML: Critical plugin.
  4. Rename files after taking actions: gulp-rename.

Style Guide

Here is the Udacity style guide that I followed.

mobile-portfolio's People

Contributors

morita657 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.