Giter Site home page Giter Site logo

arrowgr / website-optimization Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3.51 MB

Original code part of project 4 from Udacity's Front End Web Development Nanodegree. This represents my online resume that was created for project 4

CSS 6.39% JavaScript 57.39% HTML 34.89% ApacheConf 1.34%

website-optimization's Introduction

Website hosting https://feedaki.gr/Pizza/index.html

Local

Open index.html in a browser

Check with: PageSpeed Insights gtmetrix

Optomize Images with http://optimizilla.com/

index.html add size on images minify html with http://www.willpeavy.com/minifier/

pizza.html

minify html with http://www.willpeavy.com/minifier/

remove

style="width:33.33%; height: 325px;"

add

style.css add .randomPizzaContainer

main.js

add pizzaDescriptionContainer.className("max-width"); pizzaImageContainer.className("less-width");

edit var rows = Math.ceil(window.innerHeight /256) * 8; function changePizzaSizes(size) {

document.addEventListener('DOMContentLoaded', function () { var dose = (Math.floor(i / cols) * s) + 'px' ; elem.style.transform= 'translateY('+dose+')'; change querySelector with getElementById on movingPizzas1,pizzaSize

out of loop var top = (document.body.scrollTop / 1250);

remove //pizzaContainer.style.width = "33.33%"; // pizzaContainer.style.height = "325px"; // pizzaDescriptionContainer.style.width = "65%"; //pizzaImageContainer.style.width = "35%";

website-optimization's People

Contributors

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