diff --git a/README.md b/README.md index 324adc6adc3..ad7668f4302 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,11 @@ Your challenge, if you wish to accept it (and we sure hope you will), is to opti To get started, check out the repository and inspect the code. -### Getting started + ####Part 1: Optimize PageSpeed Insights score for index.html -Some useful tips to help you get started: + 1. Check out the repository 1. To inspect the site on your phone, you can run a local server diff --git a/img/me.jpg b/img/me.jpg new file mode 100644 index 00000000000..a408f8074d9 Binary files /dev/null and b/img/me.jpg differ diff --git a/index.html b/index.html index 01ebf055996..310318ef68e 100644 --- a/index.html +++ b/index.html @@ -3,39 +3,67 @@ - - + + Cameron Pittman: Portfolio - - - - - - - - - + + -

Cameron Pittman
Course Developer

+ +

Artem Borutenko
Junior Developer

-
+ E-mail:artem.borutenko@gmail.com
+ Phone:+375(33)-314-69-55
I love web development! This is a template for a simple portfolio. I decided to use it to showcase a few Udacity courses I've taken and some teaching work, but you can use it to showcase any kind of project that you want the world to see :)
Contact me: me@email.com
-
-
+ + + diff --git a/js/perfmatters.js b/js/perfmatters.js index 5d84e840f8e..dd482950d2d 100644 --- a/js/perfmatters.js +++ b/js/perfmatters.js @@ -1,14 +1 @@ -// Measuring the Critical Rendering Path with Navigation Timing -// https://developers.google.com/web/fundamentals/performance/critical-rendering-path/measure-crp - -function logCRP() { - var t = window.performance.timing, - dcl = t.domContentLoadedEventStart - t.domLoading, - complete = t.domComplete - t.domLoading; - var stats = document.getElementById("crp-stats"); - stats.textContent = 'DCL: ' + dcl + 'ms, onload: ' + complete + 'ms'; -} - -window.addEventListener("load", function(event) { - logCRP(); -}); +function logCRP(){var a=window.performance.timing,b=a.domContentLoadedEventStart-a.domLoading,c=a.domComplete-a.domLoading,d=document.getElementById("crp-stats");d.textContent="DCL: "+b+"ms, onload: "+c+"ms"}window.addEventListener("load",function(a){logCRP()}); \ No newline at end of file diff --git a/views/images/pizzeria.jpg b/views/images/pizzeria.jpg index 129338882f6..d6556b1202c 100644 Binary files a/views/images/pizzeria.jpg and b/views/images/pizzeria.jpg differ diff --git a/~$index.html b/~$index.html new file mode 100644 index 00000000000..4dee77af1bf Binary files /dev/null and b/~$index.html differ