From d6802e17bd436023eb39d5be3959a7fb95ae9679 Mon Sep 17 00:00:00 2001 From: matthewdking Date: Fri, 15 Dec 2017 12:37:44 +0200 Subject: [PATCH 1/3] fixes typing function #15 :bug: --- public/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/main.js b/public/main.js index a7affbb..43474d8 100644 --- a/public/main.js +++ b/public/main.js @@ -14,7 +14,7 @@ a1.href = 'https://foundersandcoders.com/'; const arrayOfEl = [p1, p2, a1, p3]; -typeText(str, element, arr) => { +const typeText = (str, element, arr) => { setTimeout(() => { if (str[0] === '$') { if (str[1] === '^') { @@ -29,6 +29,6 @@ typeText(str, element, arr) => { typeText(str.slice(1), element, arr); } }, Math.random() * 100); -} +}; typeText(myDescription, p1, arrayOfEl); From c0a94f8eba936e67503ef075838afd9fe2ddd8c0 Mon Sep 17 00:00:00 2001 From: matthewdking Date: Fri, 15 Dec 2017 12:40:44 +0200 Subject: [PATCH 2/3] updates description #14 :speech_balloon: --- public/index.html | 6 +++--- public/main.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/index.html b/public/index.html index 3579f42..6c83d20 100644 --- a/public/index.html +++ b/public/index.html @@ -12,9 +12,9 @@

Matt King

-
- Hi, I'm Matt King Full stack web developer Graduate of Founders and Coders Previous projects Impact Sustainability -
+
+ I'm a full stack javascript developer. I'm a graduate of Founders and Coders. I'm passionate about the environment and sustainability, and always looking for projects with a positive footprint. +
diff --git a/public/main.js b/public/main.js index 43474d8..932f29e 100644 --- a/public/main.js +++ b/public/main.js @@ -1,7 +1,7 @@ const typedDiv = document.getElementById('typed'); const myDescription = - "I'm a full stack javascript developer. $I'm a graduate of $^Founder and Coders. $I'm passionate about the environment and sustainability, and always looking for projects with a positive footprint."; + "I'm a full stack javascript developer. $I'm a graduate of $^Founders and Coders. $I'm passionate about the environment and sustainability, and always looking for projects with a positive footprint."; const p1 = document.createElement('p'); const p2 = document.createElement('p'); From 839b26a610487178a7e1d545981e1192b74f28f5 Mon Sep 17 00:00:00 2001 From: matthewdking Date: Fri, 15 Dec 2017 12:44:52 +0200 Subject: [PATCH 3/3] removes link color styling #4 :lipstick: --- public/style/main.css | 12 ++++ public/style/reset.css | 147 ++++++++++++++++++++++++++++++++--------- 2 files changed, 126 insertions(+), 33 deletions(-) diff --git a/public/style/main.css b/public/style/main.css index 2190452..21e064d 100644 --- a/public/style/main.css +++ b/public/style/main.css @@ -60,3 +60,15 @@ footer { .icon:hover { opacity: 1; } + +a:link { + color: #fff; +} + +a:visited { + color: #fff; +} + +a:active { + color: #fff; +} diff --git a/public/style/reset.css b/public/style/reset.css index ed11813..d971da6 100644 --- a/public/style/reset.css +++ b/public/style/reset.css @@ -3,46 +3,127 @@ License: none (public domain) */ -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; +html, +body, +div, +span, +applet, +object, +iframe, +h1, +h2, +h3, +h4, +h5, +h6, +p, +blockquote, +pre, +a, +abbr, +acronym, +address, +big, +cite, +code, +del, +dfn, +em, +img, +ins, +kbd, +q, +s, +samp, +small, +strike, +strong, +sub, +sup, +tt, +var, +b, +u, +i, +center, +dl, +dt, +dd, +ol, +ul, +li, +fieldset, +form, +label, +legend, +table, +caption, +tbody, +tfoot, +thead, +tr, +th, +td, +article, +aside, +canvas, +details, +embed, +figure, +figcaption, +footer, +header, +hgroup, +menu, +nav, +output, +ruby, +section, +summary, +time, +mark, +audio, +video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section { + display: block; } body { - line-height: 1; + line-height: 1; } -ol, ul { - list-style: none; +ol, +ul { + list-style: none; } -blockquote, q { - quotes: none; +blockquote, +q { + quotes: none; } -blockquote:before, blockquote:after, -q:before, q:after { - content: ''; - content: none; +blockquote:before, +blockquote:after, +q:before, +q:after { + content: ''; + content: none; } table { - border-collapse: collapse; - border-spacing: 0; + border-collapse: collapse; + border-spacing: 0; }