GithubHelp home page GithubHelp logo

nanodegree-mobile-portfolio-class-version's Introduction

nanodegree-mobile-portfolio-class-version

Udacity Class Project

How to run my application

  1. Download the zip folder
  2. Extract the zip folder
  3. Right Click index.html and click open With Chrome(or the browser you like to use)

Changes in index.html 1.Optimized all images through photoshop and pagespeedinsight and uploaded in the correct folders 2.Moved analytics and perfmatters scripts to bottom under the footer 3.Added async tag to analytics and perfmatters scripts 4.added width to pizzeria image 5.Created style tag and added css to help reduce load time to DOM

Changes to views/js/main.js

  1. Removed Determine DX
  2. Moved switch function to changePizzaSizes function
  3. Moved pizza slider functionality to changePizzaSizes instead of changeSliderLabel 4.changed document.querySelector all to document.getElementsByClass name to increase speed 5.Created a new loop which will have the slider create pizzas by percent instead of a number. 6.Broke loops up into 2 loops updatePositions function to reduce work in DOM 7.Moved movingPizzas1 variable out of for loop to reduce work in the for loop 8.Reduced Pizza count to 32 instead of 200
  4. Ran JS Formatter in atom
  5. Uploaded optimized pizza image

nanodegree-mobile-portfolio-class-version's People

Contributors

futuregaamecreator 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.