diff --git a/01week/helloworld/css/style.css b/01week/helloworld/css/style.css deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/01week/helloworld/index.html b/01week/helloworld/index.html deleted file mode 100644 index c30cb6546d..0000000000 --- a/01week/helloworld/index.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - Brett Jacksons Resume - - - - - \ No newline at end of file diff --git a/01week/new resume/Pictures/Beanstalk_NSMB2.png b/01week/new resume/Pictures/Beanstalk_NSMB2.png deleted file mode 100644 index 32dedadf3a..0000000000 Binary files a/01week/new resume/Pictures/Beanstalk_NSMB2.png and /dev/null differ diff --git a/01week/new resume/index.html b/01week/new resume/index.html deleted file mode 100644 index de5bbb650b..0000000000 --- a/01week/new resume/index.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - Brett Jackson - - - - - -
-
- - - - - - - - - - diff --git a/01week/new resume/newresume.css b/01week/new resume/newresume.css deleted file mode 100644 index 5b35006419..0000000000 --- a/01week/new resume/newresume.css +++ /dev/null @@ -1,13 +0,0 @@ -.stalkDiv { - float: left; - height: 3000px; - width: 100px; - background-size: 100%; - background-image: url(./Pictures/Beanstalk_NSMB2.png); -} - -.contentMain { - float: right; - height: 3000px; - width: 30%; -} \ No newline at end of file diff --git a/01week/new resume/newresume.js b/01week/new resume/newresume.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/01week/resume/JavaScript/Javascript.js b/01week/resume/JavaScript/Javascript.js deleted file mode 100644 index 7b05a475e0..0000000000 --- a/01week/resume/JavaScript/Javascript.js +++ /dev/null @@ -1,71 +0,0 @@ -function sectionSetup(_selectedButton) { - var article_file = "./html/" + _selectedButton + ".html"; - var sidebar_file = "./html/" + _selectedButton + "SideBar.html"; - modifyArticle(article_file); - modifySideBar(sidebar_file); -} - -function modifyArticle(_currentArticle) { - var xhr = typeof XMLHttpRequest != 'undefined' ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP'); - xhr.open('get', _currentArticle, true); - xhr.onreadystatechange = function() { - if (xhr.readyState == 4 && xhr.status == 200) { - document.getElementById("MainArticle").innerHTML = xhr.responseText; - } - } - xhr.send(); -} - -function modifySideBar(_currentSideBar) { - var xhr = typeof XMLHttpRequest != 'undefined' ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP'); - xhr.open('get', _currentSideBar, true); - xhr.onreadystatechange = function() { - if (xhr.readyState == 4 && xhr.status == 200) { - document.getElementById("SideNav").innerHTML = xhr.responseText; - } - } - xhr.send(); -} - -//Example: make("input", { id: 'example', classList: ["button"], attr: { "type": "button", "value": 'test', "onclick": "function();" }}); -function make(tag_name, opt) { - var ele = document.createElement(tag_name); - if (!opt) { - return ele; - } - opt = opt || {}; - opt.classList = opt.classList || []; - opt.attr = opt.attr || {}; - - opt.classList.forEach(function(v) { - ele.classList.add(v); - }); - if (opt.text) { - ele.textContent = opt.text; - } - if (opt.html) { - ele.innerHTML = opt.html; - } - if (opt.id) { - ele.id = opt.id; - } - if (opt.value) { - ele.value = opt.value; - } - for (var k in opt.attr) { - if (opt.attr.hasOwnProperty(k)) { - ele.setAttribute(k, opt.attr[k]); - } - } - if (opt.append) { - ele.appendChild(opt.append); - } - if (opt.appendTo) { - if (typeof opt.appendTo === 'string') { - opt.appendTo = document.getElementById(opt.appendTo); - } - opt.appendTo.appendChild(ele); - } - - return ele; -} diff --git a/01week/resume/css/style.css b/01week/resume/css/style.css deleted file mode 100644 index 2296736a42..0000000000 --- a/01week/resume/css/style.css +++ /dev/null @@ -1,78 +0,0 @@ -.header { - text-align: center; - font-size: 1.2em; - width: 97%; - background-color: #355E88; - overflow: auto; - padding: 28px; - right: 1; - left: 1; - height: 40px; - margin: auto; -} - -.footer { - text-align: center; - font-size: 1.2em; - position: fixed; - left: 0; - bottom: 0; - height: 30px; - width: 97%; - background-color: #355E88; - padding: 20px; - overflow: auto; - margin: 10px; -} - -.top-btn-group .button { - background-color: #355E88; - border: none; - color: white; - padding: 5px 28px; - text-align: center; - text-decoration: none; - font-size: 16px; - cursor: pointer; - float: right; -} - -.top-btn-group .button:hover { - background-color: #adb1b5; -} - -.side-btn-group .button { - background-color: #355E88; - width: 100%; - border: none; - color: white; - padding: 15px 32px; - text-align: center; - text-decoration: none; - font-size: 16px; - cursor: pointer; - float: left; -} - -.side-btn-group .button:hover { - background-color: #adb1b5; -} - -.artical { - text-align: auto; - float: left; - margin: 10px; - width: 80%; -} - -.sidebar { - background-color: #355E88; - text-align: auto; - width: 20%; - float: right; - margin: 10px; -} - -#MainSection { - width: 100%; -} \ No newline at end of file diff --git a/01week/resume/index.html b/01week/resume/index.html deleted file mode 100644 index aea51e2632..0000000000 --- a/01week/resume/index.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Brett Jackson - - - - - -
- -
-
-
- -
- - - - - diff --git a/02week/bio/bio.js b/02week/bio/bio.js deleted file mode 100644 index 213fecc471..0000000000 --- a/02week/bio/bio.js +++ /dev/null @@ -1,60 +0,0 @@ -window.onscroll = function() { - scrollFunction() -}; - -function scrollFunction() { - if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { - document.getElementById("toTop").style.display = "inline-block"; - } else { - document.getElementById("toTop").style.display = "none"; - } -} - -// When the user clicks on the button, scroll to the top of the document -function toTheTop() { - document.body.scrollTop = 0; - document.documentElement.scrollTop = 0; -} - -function lockHover(_passedValue) { - document.getElementById(_passedValue).style.display = "inline-block"; -} - -function lockLeave(_passedValue) { - document.getElementById(_passedValue).style.display = "none"; -} - -function lockUnlock(articleId) { - var getLockStatus = document.getElementById("textChange" + articleId).innerHTML - - if (getLockStatus === "lock") { - document.getElementById("a" + articleId).style.background = "rgba(65, 63, 63, 1)"; - document.getElementById("textChange" + articleId).innerHTML = "Unlock"; - document.getElementById("changeLock" + articleId).innerHTML = ''; - document.getElementById("change").id = ("change" + articleId); - document.getElementById("change" + articleId).addEventListener("click", function() { - lockUnlock(articleId); - }, true); - document.getElementById("change" + articleId).addEventListener("mouseover", function() { - lockHover('textChange' + articleId); - }, true); - document.getElementById("change" + articleId).addEventListener("mouseout", function() { - lockLeave('textChange' + articleId); - }, true); - } else { - document.getElementById("a" + articleId).style.background = ""; - document.getElementById("textChange" + articleId).innerHTML = "lock"; - document.getElementById("changeLock" + articleId).innerHTML = ''; - document.getElementById("change").id = ("change" + articleId); - document.getElementById("change" + articleId).addEventListener("click", function() { - lockUnlock(articleId); - }, true); - document.getElementById("change" + articleId).addEventListener("mouseover", function() { - lockHover('textChange' + articleId); - }, true); - document.getElementById("change" + articleId).addEventListener("mouseout", function() { - lockLeave('textChange' + articleId); - }, true); - } - -} \ No newline at end of file diff --git a/02week/bio/css/codeBack.jpg b/02week/bio/css/codeBack.jpg deleted file mode 100644 index d576109bd1..0000000000 Binary files a/02week/bio/css/codeBack.jpg and /dev/null differ diff --git a/02week/bio/css/style.css b/02week/bio/css/style.css deleted file mode 100644 index 66a3997547..0000000000 --- a/02week/bio/css/style.css +++ /dev/null @@ -1,210 +0,0 @@ -.headerDiv { - float: left; - Width: 79%; - Height: 200px; -} - -.photo { - height: 200px; - width: 200px; - border-radius: 10px; - position: relative; - text-align: center; - background-color: rgba(75, 75, 75, 0.904); -} - -.photo:hover .text-align { - display: block; -} - -.img_toggle { - width: 200px; - height: 200px; - display: inline-block; - background-image: url(../pics/brett.png); - text-indent: -9000px; - background-size: 100%; -} - -.img_toggle:hover { - background-image: url(../pics/Resume.png); -} - -.img { - max-width: 100%; - max-height: 100%; - z-index: 3; -} - -.img:hover { - display: none; -} - -.restOfHeader { - height: 100px; - width: 20%; - position: sticky; - top: 0; - right: 0; - float: left; - background: rgba(236, 231, 231, 0); - border-radius: 33%; -} - -.filler { - height: 100px; - width: 20%; - float: right; -} - -.body {} - -.stickyVisual { - width: 200px; - height: 500px; - display: inline-block; - vertical-align: top; -} - -.mainContent { - width: 60%; - background: rgba(236, 231, 231, 0); - display: inline-block; - vertical-align: top; -} - -body { - background-image: url(./codeBack.jpg); - background-repeat: no-repeat; - background-position: left top; - background-attachment: fixed; - background-size: 100%; - font-family: 'Uncial Antiqua', cursive; -} - -.linkedin { - max-width: 25%; - max-height: 25%; - padding: 30px; - opacity: 0.9; - display: inline-block; -} - -.top { - max-width: 25%; - max-height: 25%; - float: right; - padding: 30px; - opacity: 0.9; - position: absolute; -} - -.resume { - max-width: 25%; - max-height: 25%; - float: right; - padding: 30px; - position: absolute; - z-index: 2; - background-color: rgba(255, 255, 255, 0.164); -} - -.resume:hover { - display: inline-block; -} - -.topBtn { - display: inline-block; - display: none; - max-width: 25%; - max-height: 25%; - z-index: 2; - font-size: 18px; - border: none; - outline: none; - cursor: pointer; - padding-top: 30px; - padding-left: 30px; - padding-bottom: 30px; - border-radius: 4px; -} - -/*for picture under my image*/ - -.text-align { - position: absolute; - top: 0px; - left: 0px; - color: rgb(0, 0, 0); - display: none; -} - -.article-right { - width: 400px; - height: 200px; - background-color: rgba(39, 39, 39, 0); - display: table; - float: right; - color: whitesmoke; - clear: left; - margin-top: 20px; - text-align: left; - border-radius: 10px; -} - -.article-right:hover { - background-color: rgba(39, 39, 39, 1); -} - -.article-left { - width: 400px; - height: 200px; - background-color: rgba(39, 39, 39, 0); - display: table; - color: whitesmoke; - float: left; - clear: right; - margin-top: 20px; - text-align: left; - border-radius: 10px; -} - -.article-left:hover { - background-color: rgba(39, 39, 39, 1); -} - -P { - text-indent: 20px; - line-height: 1.6; -} - -.lockDiv { - height: 40px; - width: 100%; -} - -.lockPicture { - Width: 10%; - float: left; - height: 40px; -} - -.invisText { - Width: 90%; - background-color: rgba(236, 231, 231, 0); - height: 40px; - float: right; - display: none; - font-size: 10px; -} - -.lockImg { - max-width: 100%; - max-height: 100%; -} - -/* -.lockImg:hover .invisText{ - color: red; - -} cannot get this to work so useing javascript*/ \ No newline at end of file diff --git a/02week/bio/index.html b/02week/bio/index.html deleted file mode 100644 index 5e4782fd62..0000000000 --- a/02week/bio/index.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - Brett's Bio - - - - - - - -
- -
- x -
-

R
e
s
u
m
e

-
-
- - - -
- -
- -
- -
- -
- -
- -
-
-
-
lock
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. - Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In - at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit.

-
- -
-
-
-
lock
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. - Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In - at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit.

-
- -
-
-
-
lock
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. - Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In - at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit.

-
- -
-
-
-
lock
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. - Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In - at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit.

-
- -
-
-
-
lock
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. - Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In - at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit.

-
- -
-
-
-
lock
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. - Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In - at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit.

-
- -
-
-
-
lock
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. - Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In - at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit.

-
- -
-
-
-
lock
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. - Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In - at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit.

-
-
-
- - - - - - - - \ No newline at end of file diff --git a/02week/bio/package.json b/02week/bio/package.json deleted file mode 100644 index 5871f4e878..0000000000 --- a/02week/bio/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "bio", - "version": "1.0.0", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "Brett", - "license": "ISC", - "repository": { - "type": "git", - "url": "git+https://github.com/Brettj85/web-workbook.git" - }, - "keywords": [ - "none" - ], - "bugs": { - "url": "https://github.com/Brettj85/web-workbook/issues" - }, - "homepage": "https://github.com/Brettj85/web-workbook#readme", - "description": "" -} diff --git a/02week/bio/pics/Resume.png b/02week/bio/pics/Resume.png deleted file mode 100644 index 5536a100b5..0000000000 Binary files a/02week/bio/pics/Resume.png and /dev/null differ diff --git a/02week/bio/pics/brett.png b/02week/bio/pics/brett.png deleted file mode 100644 index d2b724fbe4..0000000000 Binary files a/02week/bio/pics/brett.png and /dev/null differ diff --git a/02week/bio/pics/linkedIn.png b/02week/bio/pics/linkedIn.png deleted file mode 100644 index b16f5aaa49..0000000000 Binary files a/02week/bio/pics/linkedIn.png and /dev/null differ diff --git a/02week/bio/pics/locked.png b/02week/bio/pics/locked.png deleted file mode 100644 index 30df3c31ec..0000000000 Binary files a/02week/bio/pics/locked.png and /dev/null differ diff --git a/02week/bio/pics/toTheTop.png b/02week/bio/pics/toTheTop.png deleted file mode 100644 index 287020aaed..0000000000 Binary files a/02week/bio/pics/toTheTop.png and /dev/null differ diff --git a/02week/bio/pics/unlocked.png b/02week/bio/pics/unlocked.png deleted file mode 100644 index 56dc1b4892..0000000000 Binary files a/02week/bio/pics/unlocked.png and /dev/null differ diff --git a/02week/bio/storage b/02week/bio/storage deleted file mode 100644 index a5e4b1b8a2..0000000000 --- a/02week/bio/storage +++ /dev/null @@ -1,160 +0,0 @@ - -//for later use -function launchModal(){ - var linebreak = []; - for (i = 0; i <= 50; i++) { - linebreak.push(document.createElement("br")); - } - var modal = document.getElementById('bioModal'); - var span = document.getElementsByClassName("close")[0]; - if (toBeDetermined){ - modal.style.display = "block"; - }else{ - - } - span.onclick = function() {modal.style.display = "none";} - window.onclick = function(event) { - if (event.target == modal) { - modal.style.display = "none"; - } - } - - } - - /* - -.modal { - display: none; - position: fixed; - z-index: 1; - padding-top: 100px; - left: 0; - top: 0; - width: 100%; - height: 100%; - overflow: auto; - background-color: rgb(0,0,0); - background-color: rgba(0,0,0,0.4); -} - -.modal-content { - position: relative; - background-color: #fefefe; - margin: auto; - padding: 0; - border: 1px solid #888; - width: 80%; - box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19); - -webkit-animation-name: animatetop; - -webkit-animation-duration: 0.4s; - animation-name: animatetop; - animation-duration: 0.4s -} - - -@-webkit-keyframes animatetop { - from {top:-300px; opacity:0} - to {top:0; opacity:1} -} - -@keyframes animatetop { - from {top:-300px; opacity:0} - to {top:0; opacity:1} -} - - -.close { - color: white; - float: right; - font-size: 28px; - font-weight: bold; -} - -.close:hover, -.close:focus { - color: #000; - text-decoration: none; - cursor: pointer; -} - -.modal-header { - padding: 2px 16px; - background-color: #355E88; - color: white; -} - -.modal-body {padding: 2px 16px;} - -.modal-footer { - padding: 2px 16px; - background-color: #5cb85c; - color: white; -} - - - - -Include a picture of yourself, -Add a link to the resume you made last class. (maybe on your picture?) -The link or picture should change color when a user :HOVER over it. -Choose font styles that match your personality. -Apply styles to text alignment, spacing, and indentation. -Link your bio page to your LinkedIn. -Use the examples below for ideas. - -*/ - -make("input", { id: 'example', classList: ["button"], attr: { "type": "button", "value": 'test', "onclick": "function();" }}); - - document.getElementById(a1).style.backgroundcolor = " rgba(39, 39, 39, 1)" - } - else - { - getLockStatus = "lock"; - document.getElementById(a1).style.backgroundcolor = " rgba(39, 39, 39, 0)" - - make("img", { id: 'lockId', classList: ["lockImg"], attr: { "onmouseover": "lockHover('textChange'"+articleId+")", "value": './pics/locked.png', "onclick": "lockUnlock("+articleId+");", "onmouseout": "lockLeave('textChange'"+articleId+");" }}); - - - - function make(tag_name, opt) { - var ele = document.createElement(tag_name); - if (!opt) { - return ele; - } - opt = opt || {}; - opt.classList = opt.classList || []; - opt.attr = opt.attr || {}; - - opt.classList.forEach(function(v) { - ele.classList.add(v); - }); - if (opt.text) { - ele.textContent = opt.text; - } - if (opt.html) { - ele.innerHTML = opt.html; - } - if (opt.id) { - ele.id = opt.id; - } - if (opt.value) { - ele.value = opt.value; - } - for (var k in opt.attr) { - if (opt.attr.hasOwnProperty(k)) { - ele.setAttribute(k, opt.attr[k]); - } - } - if (opt.append) { - ele.appendChild(opt.append); - } - if (opt.appendTo) { - if (typeof opt.appendTo === 'string') { - opt.appendTo = document.getElementById(opt.appendTo); - } - opt.appendTo.appendChild(ele); - } - - return ele; - } \ No newline at end of file diff --git a/02week/blog/Pictures/binary.jpg b/02week/blog/Pictures/binary.jpg deleted file mode 100644 index fa00fb67ff..0000000000 Binary files a/02week/blog/Pictures/binary.jpg and /dev/null differ diff --git a/02week/blog/Pictures/git.png b/02week/blog/Pictures/git.png deleted file mode 100644 index 70365d1881..0000000000 Binary files a/02week/blog/Pictures/git.png and /dev/null differ diff --git a/02week/blog/Pictures/google+.png b/02week/blog/Pictures/google+.png deleted file mode 100644 index 2ac13b5e4e..0000000000 Binary files a/02week/blog/Pictures/google+.png and /dev/null differ diff --git a/02week/blog/Pictures/linkedIn.png b/02week/blog/Pictures/linkedIn.png deleted file mode 100644 index b16f5aaa49..0000000000 Binary files a/02week/blog/Pictures/linkedIn.png and /dev/null differ diff --git a/02week/blog/Pictures/locked.png b/02week/blog/Pictures/locked.png deleted file mode 100644 index 30df3c31ec..0000000000 Binary files a/02week/blog/Pictures/locked.png and /dev/null differ diff --git a/02week/blog/Pictures/toTheTop.1.png b/02week/blog/Pictures/toTheTop.1.png deleted file mode 100644 index 287020aaed..0000000000 Binary files a/02week/blog/Pictures/toTheTop.1.png and /dev/null differ diff --git a/02week/blog/Pictures/toTheTop.png b/02week/blog/Pictures/toTheTop.png deleted file mode 100644 index 287020aaed..0000000000 Binary files a/02week/blog/Pictures/toTheTop.png and /dev/null differ diff --git a/02week/blog/Pictures/unlocked.png b/02week/blog/Pictures/unlocked.png deleted file mode 100644 index 56dc1b4892..0000000000 Binary files a/02week/blog/Pictures/unlocked.png and /dev/null differ diff --git a/02week/blog/Pictures/worldBack.jpg b/02week/blog/Pictures/worldBack.jpg deleted file mode 100644 index 325e715d7a..0000000000 Binary files a/02week/blog/Pictures/worldBack.jpg and /dev/null differ diff --git a/02week/blog/Pictures/worldBack.png b/02week/blog/Pictures/worldBack.png deleted file mode 100644 index b878157541..0000000000 Binary files a/02week/blog/Pictures/worldBack.png and /dev/null differ diff --git a/02week/blog/blog.js b/02week/blog/blog.js deleted file mode 100644 index ac0e2c73c4..0000000000 --- a/02week/blog/blog.js +++ /dev/null @@ -1,32 +0,0 @@ -window.onscroll = function() { - scrollFunction() -}; - -function scrollFunction() { - if (document.body.scrollTop > 200 || document.documentElement.scrollTop > 200) { - document.getElementById("toTop").style.display = "inline-block"; - } else { - document.getElementById("toTop").style.display = "none"; - } -} - -function toTheTop() { - document.body.scrollTop = 0; - document.documentElement.scrollTop = 0; -} - -function lockUnlock(articleId) { - var getLockStatus = document.getElementById("lockStatus" + articleId).innerHTML - - if (getLockStatus === "Click to lock") { - document.getElementById("lockStatus" + articleId).innerHTML = "Click to unlock" - document.getElementById(articleId).style.transition = "none"; - document.getElementById(articleId).style.backgroundColor = "rgba(65, 63, 63, 0.9)"; - document.getElementById(articleId).style.height = "600px"; - } else { - document.getElementById("lockStatus" + articleId).innerHTML = "Click to lock" - document.getElementById(articleId).style.transition = null; - document.getElementById(articleId).style.height = null; - document.getElementById(articleId).style.backgroundColor = null; - } -} diff --git a/02week/blog/css/style.css b/02week/blog/css/style.css deleted file mode 100644 index 1988f5d60f..0000000000 --- a/02week/blog/css/style.css +++ /dev/null @@ -1,145 +0,0 @@ -.headerDiv { - height: 100px; - background-color: rgba(255, 255, 255, 0); -} - -.headerDiv>h1 { - color: white; - font-size: 60px; -} - -.leftAside { - height: 350px; - width: 15%; - float: left; - position: sticky; - top: 0; - left: 0; - background-color: rgba(65, 63, 63, 0.0); - border: 2px; -} - -.topBtn { - height: 100%; - width: 20px; - float: right; - display: none; - z-index: 2; - font-size: 18px; - border: none; - outline: none; - cursor: pointer; - padding-top: 30px; - padding-left: 30px; - padding-bottom: 30px; - border-radius: 4px; -} - -.mainContent { - height: auto; - width: 65%; - display: inline-block; - background-color: rgba(0, 0, 0, 0); -} - -.mainContent>div { - width: 100%; - transition: width 1s, height 1s, background-color 2s; - transition-delay: .1s; - height: 110px; - margin-top: 10px; - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); - background-color: rgba(65, 63, 63, 0.4); - overflow: hidden; - font-size: 20px; - color: whitesmoke; -} - -.mainContent>div>p:nth-of-type(1) { - text-align: center; - font-size: 10px; - color: rgba(255, 255, 255); -} - -.mainContent>div>p:nth-of-type(2) { - color: rgba(255, 255, 255); -} - -.mainContent>div>h1:nth-of-type(1) { - text-align: center; - color: rgba(255, 255, 255); -} - -.mainContent>div>p:nth-of-type(1):hover { - font-size: 20px; -} - -.mainContent>div:hover { - width: 100%; - height: 600px; - background-color: rgba(65, 63, 63, 0.9); -} - -.mainContent>div:hover .lockedOrUnlocked { - display: inline-block; - position: absolute; - font-size: 10px; -} - -.blogSelection { - width: 15%; - float: right; - display: inline-block; - background-color: rgba(0, 0, 0, 0); -} - -body { - background-image: url(../Pictures/worldBack.jpg); - background-repeat: no-repeat; - background-position: left top; - background-attachment: fixed; - background-size: 100%; - font-family: 'Arapey', serif; -} - -.lockedOrUnlocked { - display: none; - position: absolute; - font-size: 10px; -} - -.linkContainer { - float: right; - width: 200px; - height: 70px; - background-color: rgba(255, 255, 255, 0.2); - text-align: center; - color: white; - border-radius: 10px; -} - -.links { - width: 200px; - height: 30px; -} - -.linkedIn { - float: right; - height: 100%; - width: 33%; - margin-right: 20px; -} - -.googlePlus { - margin-right: 20px; - width: 15%; - float: right; - height: 100% -} - -.git { - margin-right: 20px; - width: 15%; - float: right; - height: 100% -} diff --git a/02week/blog/index.html b/02week/blog/index.html deleted file mode 100644 index 593e8ce018..0000000000 --- a/02week/blog/index.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - Brett's Blog - - - - - - - - - -
-

Brett's Blog

- -
- -
-
-
Click to lock
-

AJAX and ME

-

By Brett Jackson

-

Anakin was a good friend. When I first knew him, your father was already a great pilot. But I was amazed how strongly the Force was with him. I took it upon myself to train him as a Jedi. I thought that I could instruct him just as well as Yoda. - I was wrong. There's still good in him. He is more machine now than man. Twisted and evil. I can't do it, Ben. You cannot escape your destiny. I can't kill my own father. Then the Emperor has already won. You were our only hope. Yoda spoke of - another. The other he spoke of is your twin sister. But I have no sister. To protect you both from the Emperor, you were hidden from your father when you were born. Fighters coming in. There's too many of them! Accelerate to attack speed! Draw - their fire away from the cruisers. Copy, Gold Leader. Come on. We gotta get out of here quick. Not my eyes! Artoo, help! Quickly, Artoo. Oh! Ohhh! You beast! Get the gun! Point it at the deck! Point it at the deck! Artoo, where are we going? - I couldn't possibly jump. Come on! Let's go! And don't forget the droids. We're on our way. I'll meet you back at the fleet. Hurry. The Alliance should be assembled by now. I will. Hey, Luke, thanks. Thanks for comin' after me. Now I owe you - one. That's right, Artoo. We're going to the Dagobah system. I have a promise to keep... to an old friend. I have a really bad feeling about this. What did he say? I'm rather embarrassed, General Solo, but it appears you are to be the main course - at a banquet in my honor. Leia! Oh! Your Royal Highness. But these are my friends. Threepio, tell them they must be set free. Somehow, I got the feeling that didn't help us very much. Threepio, tell them if they don't do as you wish, you'll - become angry and use your magic. But Master Luke, what magic? I couldn't possibly -- Just tell them. You see, Master Luke they didn't believe me. Just as I said they wouldn't. Wha-wha-what's happening! Oh! Oh, dear! Oh! Put me down! He-e-elp! - Master Luke! Artoo! Somebody, somebody, help! Master Luke, Artoo! Artoo, quickly! Do something, somebody! Oh! Ohhh! Oh, oh, oh, oh! Thank goodness. Thanks, Threepio. I...I never knew I had it in me. I told you to remain on the command ship. - A small Rebel force has penetrated the shield and landed on Endor. Yes, I know. My son is with them. Are you sure? I have felt him, my Master. Strange, that I have not. I wonder if your feelings on this matter are clear, Lord Vader. They are - clear, my Master. Then you must go to the Sanctuary Moon and wait for them. He will come to me? I have foreseen it. His compassion for you will be his undoing. He will come to you andthen you will bring him before me. As you wish. -

-
-
-
Click to lock
-

The joys and Pitfalls of JavaScript

-

By Brett Jackson

-

I told you to remain on the command ship. A small Rebel force has penetrated the shield and landed on Endor. Yes, I know. My son is with them. Are you sure? I have felt him, my Master. Strange, that I have not. I wonder if your feelings on this - matter are clear, Lord Vader. They are clear, my Master. Then you must go to the Sanctuary Moon and wait for them. He will come to me? I have foreseen it. His compassion for you will be his undoing. He will come to you andthen you will bring - him before me. As you wish. Look. I want you to take her. I mean it. Take her. You need all the help you can get. She's the fastest ship in the fleet. All right, old buddy. You know, I know what she means to you. I'll take good care of her. - She-she won't get a scratch. All right? Right. I got your promise now. Not a scratch. Look, would you get going, you pirate. Good luck. You, too. It's a trap! We're coming! Come on! Come on! Oh, Artoo, hurry! My goodness! Artoo, why did you - have to be so brave? Well, I suppose I could hotwire this thing. I'll cover you. Move! Move! The shield is down! Commence attack on theDeath Star's main reactor. We're on our way. Red Group, Gold Group, all fighters follow me. Told you they'd - do it!

-
-
-
Click to lock
-

Is XML Dead?

-

By Brett Jackson

-

Yes, that's it. Dagobah. No, I'm not going to change my mind about this. I'm not picking up any cities or technology. Massive life-form readings, though. There's something alive down there... Yes, I'm sure it's perfectly safe for droids. I know, - I know! All the scopes are dead. I can't see a thing! Just hang on, I'm going to start the landing cycle... No, Artoo, you stay put. I'll have a look around. I saw them! I saw them! Saw what? Star Destroyers, two of them, coming right at us. - Sir, sir! Might I suggest... hut him up or shut him down! Check the deflector shield! Oh, great. Well, we can still outmaneuver them. Prepare to make the jump to light-speed. But, sir! They're getting closer! Oh yeah? Watch this. Watch what? - I think we're in trouble. If I may say so, sir, I noticed earlier the hyperdrive motivator has been damaged. It's impossible to go to light-speed! We're in trouble! Laugh it up, fuzz ball. But you didn't see us alone in the south passage. She - expressed her true feelings for me. My...! Why, you stuck up...half-witted...scruffy-looking...nerf-herder! Who's scruffy-looking? I must have hit her pretty close to the mark to get her all riled up like that, huh, kid? Why, I guess you don't - know everything about women yet? Headquarters personnel, report to command center. Take it easy. Excuse us, please. Echo Base...I've got something! Not much, but it could be a life form. This is Rouge Two. this is Rouge Two. Captain Solo, so - you copy? Commander Skywalker, do you copy? This is Rouge Two. Good morning. Nice of you guys to drop by. Echo Base...this is Rouge Two. I found them. Repeat, I found them. Master Luke, sir, it's good to see you fully functional again. If only - you had attached my legs, I wouldn't be in this ridiculous position. Now, remember, Chewbacca, you have a responsibility to me, so don't do anything foolish. What's going on...buddy? You're being put into carbon freeze. What if he doesn't survive? - He's worth a lot to me. The Empire will compensate you if he dies. Put him in! Oh, no! No, no, no! Stop, Chewbacca, stop...! Stop, Chewie, stop! Do you hear me? Stop! Yes, stop, please! I'm not ready to die. Chewie! Chewie, this won't help me. - Hey! Save your strength. There'll be another time. The princess - you have to take care of her. You hear me? I love you! I know.

-
-
-
Click to lock
-

How Much is too much: Know your Java

-

By Brett Jackson

-

There she is. See-Threepio, do you copy? For the moment. Uh, we're in the main hangar across from the ship. We're right above you. Stand by. You came in that thing? You're braver that I thought. Nice! Come on! It's them! Blast them! Get back to - the ship! Where are you going? Come back! He certainly has courage. What good will it do us if he gets himself killed? Come on! I think we took a wrong turn. There's no lock! That oughta hold it for a while. Quick, we've got to get across. Find - the control that extends the bridge. Oh, I think I just blasted it. They're coming through! Here, hold this. Here they come! For luck! Aren't you a little short to be a stormtrooper? What? Oh...the uniform. I'm Luke Skywalker. I'm here to rescue - you. You're who? I'm here to rescue you. I've got your R2 unit. I'm here with Ben Kenobi. Ben Kenobi is here! Where is he? Come on! Hello there! Come here my little friend. Don't be afraid. Don't worry, he'll be all right. What happened? Rest - easy, son, you've had a busy day. You're fortunate you're still in one piece. Ben? Ben Kenobi! Boy, am I glad to see you! The Jundland wastes are not to be traveled lightly. Tell me young Luke, what brings you out this far? Oh, this little droid! - I think he's searching for his former master...I've never seen such devotion in a droid before...there seems to be no stopping him. He claims to be the property of an Obi-Wan Kenobi. Is he a relative of yours? Do you know who he's talking about? - The battle station is heavily shielded and carries a firepower greater than half the star fleet. It's defenses are designed around a direct large-scale assault. A small one-man fighter should be able to penetrate the outer defense. Pardon me - for asking, sir, but what good are snub fighters going to be against that? Well, the Empire doesn't consider a small one-man fighter to be any threat, or they'd have a tighter defense. An analysis of the plans provided by Princess Leia has demonstrated - a weakness in the battle station. I can't see a thing in this helmet. This is not going to work. Why didn't you say so before? I did say so before! Where are you taking this...thing? Prisoner transfer from Block one-one-three-eight. I wasn't - notified. I'll have to clear it. Look out! We've got to find out which cell this princess of yours is in. Here it is...cell twenty-one-eight-seven. You go get her. I'll hold them here. Everything is under control. Situation normal. What happened? - Uh...had a slight weapons malfunction. But, uh, everything's perfectly all right now. We're fine. We're all fine here, now, thank you. How are you? We're sending a squad up. Uh, uh, negative. We had a reactor leak here now. Give us a few minutes - to lock it down. Large leak...very dangerous. Who is this? What's your operating number? Boring conversation anyway. Luke! We're going to have company!

-
-
-
Click to lock
-

Is C# the Future for Microsoft?

-

By Brett Jackson

-

That blast came from the Death Star! That thing's operational! Home One, this is Gold Leader. We saw it. All craft prepare to retreat. You won't get another chance at this, Admiral. We have no choice, General Calrissian. Our cruisers can't repel - firepower of that magnitude. Han will have that shield down. We've got to give him more time. Greetings, Exalted One. Allow me to introduce myself. I am Luke Skywalker, Jedi Knight and friend to Captain Solo. I know that you are powerful, mighty - Jabba, and that your anger with Solo must be equally powerful. I seek an audience with Your Greatness to bargain for Solo's life. With your wisdom, I'm sure that we can work out an arrangement which will be mutually beneficial and enable us - to avoid any unpleasant confrontation. As a token of my goodwill, I present to you a gift: these two droids. What did he say? Both are hardworking and will serve you well. Luke...Luke...Do not...Do not underestimate the powers of the Emperor, - or suffer your father's fate, you will. Luke, when gone am I, the last of the Jedi will you be. Luke, the Force runs strong in your family. Pass on what you have learned, Luke... There is...another...Sky...Sky...walker. I think my eyes are getting - better. Instead of a big dark blur, I see a big light blur. There's nothing to see. I used to live here, you know. You're gonna die here, you know. Convenient. Just stick close to Chewie and Lando. I've taken care of everything. Oh... great! - Soon you will learn to appreciate me. Oh, I'm terribly sor... Artoo! What are you doing here? Well, I can see you're serving drinks, but this place is dangerous. They're going to execute Master Luke and, if we're not careful, us too! Hmm. I - wish I had your confidence. Victims of the almighty Sarlacc: His Excellency hopes that you will die honorably. But should any of you wish to beg for mercy, the great Jabba the Hutt will now listen to your pleas. The data brought to us by the - Bothan spies pinpoints the exact location of the Emperor's new battle station. We also know that the weapon systems of this Death Star are not yet operational. With the Imperial Fleet spread throughout the galaxy in a vain effort to engage us, - it is relatively unprotected. But most important of all, we've learned that the Emperor himself is personally overseeing the final stages of the construction of this Death Star. Many Bothans died to bring us this information. Admiral Ackbar, - please.

-
-
-
Click to lock
-

How long will C++ last

-

By Brett Jackson

-

I told you to remain on the command ship. A small Rebel force has penetrated the shield and landed on Endor. Yes, I know. My son is with them. Are you sure? I have felt him, my Master. Strange, that I have not. I wonder if your feelings on this - matter are clear, Lord Vader. They are clear, my Master. Then you must go to the Sanctuary Moon and wait for them. He will come to me? I have foreseen it. His compassion for you will be his undoing. He will come to you andthen you will bring - him before me. As you wish. Look. I want you to take her. I mean it. Take her. You need all the help you can get. She's the fastest ship in the fleet. All right, old buddy. You know, I know what she means to you. I'll take good care of her. - She-she won't get a scratch. All right? Right. I got your promise now. Not a scratch. Look, would you get going, you pirate. Good luck. You, too. It's a trap! We're coming! Come on! Come on! Oh, Artoo, hurry! My goodness! Artoo, why did you - have to be so brave? Well, I suppose I could hotwire this thing. I'll cover you. Move! Move! The shield is down! Commence attack on theDeath Star's main reactor. We're on our way. Red Group, Gold Group, all fighters follow me. Told you they'd - do it!

-
-
-
Click to lock
-

Just a Matter of Time: The Last DBA

-

By Brett Jackson

-

Lorem ipsizzle dolizzle sizzle shizzle my nizzle crocodizzle, consectetuer mah nizzle elit. Nullam black velizzle, volutpizzle, suscipit dope, gravida vizzle, ass. Pellentesque eget tortizzle. Crazy erizzle. Shizzle my nizzle crocodizzle izzle - shizznit dapibus turpizzle tempizzle stuff. Maurizzle its fo rizzle shiznit izzle turpizzle. Sure izzle tortizzle. Pellentesque crunk rhoncizzle nisi. In gangsta habitasse pizzle dictumst. Shizzle my nizzle crocodizzle away. Curabitizzle break - yo neck, yall urna, pretizzle shit, mattizzle ac, eleifend vitae, nunc. Fo suscipit. Integer go to hizzle dope gizzle purus. Sizzle vitae tortizzle yippiyo arcu ultricies consequat. In uhuh ... yih!, go to hizzle izzle yo mamma dizzle, pimpin' - pot my shizz pede, izzle blandizzle augue dolizzle sizzle velizzle. Pellentesque izzle that's the shizzle nec elit ass tincidunt. Curabitizzle fo shizzle nisi, fizzle izzle, porta mah nizzle, tincidunt in, metus. Nunc pizzle neque. Lorizzle - crazy dolor sizzle amizzle, consectetizzle yo mamma elit. Maecenas izzle pimpin'. In shizzle my nizzle crocodizzle. Vestibulum cool erat vitae velizzle gizzle dictizzle. Mofo facilisizzle fizzle sizzle amet shit. Pimpin' commodo. Owned sheezy - ante et yippiyo lacinia phat. Aenean we gonna chung massa shizzle my nizzle crocodizzle shut the shizzle up rizzle lobortizzle. Suspendisse enim est, bibendizzle brizzle, ornare bling bling, imperdiet uhuh ... yih!, my shizz. Vivamus egizzle - that's the shizzle at massa bling bling tempor. Curabitur izzle i'm in the shizzle tellizzle check out this nonummy. Fo shizzle commodo i saw beyonces tizzles and my pizzle went crizzle fizzle fo shizzle. Nullizzle congue. Brizzle viverra laoreet - dui. Quisque sizzle amet purus eu leo volutpizzle mammasay mammasa mamma oo sa. Suspendisse black. Nunc at boom shackalack dawg rizzle tincidunt aliquizzle. Go to hizzle check it out tempor ghetto. Dope interdizzle bizzle izzle sizzle. Quisque - dawg. Ma nizzle yo mamma ma nizzle sizzle dizzle mollizzle viverra. Nulla facilisi. Phat quis gangster a owned molestie pulvinizzle. Nullam sagittizzle dui nizzle da bomb. Sure dawg metizzle sed break it down. Etizzle pretium fo crazy pizzle. - Mofo gangster rhoncus purus. -

-
-
-
Click to lock
-

Quantum Computing and You

-

By Brett Jackson

-

Bling bling dignissizzle bling bling quizzle justo molestie molestie. Away crazy mi, get down get down ac, lobortizzle mammasay mammasa mamma oo sa, that's the shizzle break yo neck, yall, for sure. Sizzle blandizzle. Suspendisse boom shackalack. - Morbi i saw beyonces tizzles and my pizzle went crizzle erizzle, luctizzle sed, my shizz nizzle, bibendum at, for sure. Suspendisse the bizzle dolizzle. Daahng dawg tortizzle. Crizzle at boofron. Vestibulum consequat. Donec dignissizzle phat - vizzle gizzle. Ut a sem sheezy sem yippiyo eleifend. Da bomb pulvinizzle, nibh nizzle vestibulum fringilla, neque libero break yo neck, yall erizzle, vehicula uhuh ... yih! crackalackin nunc shut the shizzle up pede. Break yo neck, yall vestibulizzle - sodalizzle dolizzle. Fo shizzle mah nizzle fo rizzle, mah home g-dizzle erizzle volutpat. In crunk, dui phat rizzle doggy, away dope gravida things, izzle sagittis enizzle crackalackin sizzle shut the shizzle up. Nulla eu tellivizzle. Aliquizzle - porta the bizzle tellizzle. Mammasay mammasa mamma oo sa dizzle, sapien izzle vulputate hendrerit, libero urna hendrerizzle bow wow wow, sizzle condimentizzle nunc sapizzle at nunc. Donizzle eu dolizzle. ghetto felizzle. Sed elementum faucibizzle - that's the shizzle. Integer nulla ass, fizzle dizzle, pizzle dope, auctizzle brizzle, nunc. Mofo pharetra. Nunc nisi. Curabitur sizzle amizzle leo nec ante bizzle dignissizzle. Quisque laoreet the bizzle sizzle shut the shizzle up enizzle. Boofron - tempus dignissizzle izzle.

-
-
-
Click to lock
-

The Future of Apple: The Story of a Price Nightmare

-

By Brett Jackson

-

Spicy jalapeno bacon ipsum dolor amet elit lorem venison shank pork, short loin culpa prosciutto fugiat andouille velit biltong. Swine nulla ham, nisi kielbasa kevin esse velit minim non. Tri-tip veniam adipisicing, biltong ham hock shank meatball - aliquip burgdoggen kielbasa enim. Rump biltong frankfurter, short loin swine hamburger tongue meatball laboris quis bacon kevin veniam deserunt jerky. Pork belly commodo shankle flank non ea, strip steak lorem reprehenderit swine ham cow enim - nulla esse. Occaecat swine culpa nulla burgdoggen shank in proident fatback ex prosciutto. Pork belly dolor mollit picanha hamburger ad rump meatloaf enim buffalo tempor. Bacon tongue deserunt venison, dolore tenderloin officia tempor. Ad alcatra - non reprehenderit mollit laboris ex boudin porchetta leberkas fugiat shoulder dolor. Pork leberkas anim kevin burgdoggen tri-tip. Bacon ham shoulder shankle leberkas pork belly pig in ad pancetta et enim cow jerky labore. Quis nulla ribeye strip - steak biltong, velit flank consectetur pork chop dolore turkey id tail. Ham hock officia mollit sunt tempor, sausage consequat fatback nulla shankle. Proident swine ut velit bacon dolor fugiat cillum picanha ball tip. Strip steak ut mollit, - short ribs prosciutto ball tip in aliqua cupidatat consequat culpa exercitation. Lorem ribeye sausage, enim hamburger tenderloin venison qui cupim veniam et. Pork chop pastrami cupim, dolore dolore reprehenderit velit sausage pig et culpa ham. - Corned beef brisket sint est mollit laboris. Ut alcatra eu drumstick hamburger rump biltong jerky.

-
-
-
Click to lock
-

What Happend to IBM

-

By Brett Jackson

-

Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor - hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. - Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, - hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor - hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. - Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, - hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor.Hodor. Hodor - hodor hodor, hodor.Hodor. Hodor hodor hodor, hodor. -

-
-
-
Click to lock
-

It Could Happen to You: Lost Files

-

By Brett Jackson

-

Jolly boat pink Blimey capstan Corsair wherry salmagundi Arr Jack Ketch knave. Yellow Jack fathom crow's nest walk the plank chase guns loaded to the gunwalls crack Jennys tea cup fire ship fore league. Plate Fleet Shiver me timbers hang the jib - mizzen belay bring a spring upon her cable Pieces of Eight run a shot across the bow hail-shot hulk. Spanish Main yard Gold Road Pirate Round spyglass yardarm brigantine warp Privateer me. Jury mast mizzenmast gibbet provost hulk come about - parley Chain Shot blow the man down salmagundi. Spyglass tackle parrel fluke topmast hornswaggle lass belaying pin furl knave. Ballast cable ahoy black spot fore cog league hornswaggle shrouds main sheet. Stern tackle lugger brigantine hands - ballast Blimey hang the jib gangplank deadlights. Me spirits weigh anchor swab chase guns lanyard heave to splice the main brace hearties lad.

-
-
-
Click to lock
-

The Best Way to Land a Coding Job

-

By Brett Jackson

-

Zombie ipsum reversus ab viral inferno, nam rick grimes malum cerebro. De carne lumbering animata corpora quaeritis. Summus brains sit​​, morbo vel maleficia? De apocalypsi gorger omero undead survivor dictum mauris. Hi mindless mortuis soulless - creaturas, imo evil stalking monstra adventus resi dentevil vultus comedat cerebella viventium. Qui animated corpse, cricket bat max brucks terribilem incessu zomby. The voodoo sacerdos flesh eater, suscitat mortuos comedere carnem virus. Zonbi - tattered for solum oculi eorum defunctis go lum cerebro. Nescio brains an Undead zombies. Sicut malus putrid voodoo horror. Nigh tofth eliv ingdead. Zombie ipsum reversus ab viral inferno, nam rick grimes malum cerebro. De carne lumbering animata - corpora quaeritis. Summus brains sit​​, morbo vel maleficia? De apocalypsi gorger omero undead survivor dictum mauris. Hi mindless mortuis soulless creaturas, imo evil stalking monstra adventus resi dentevil vultus comedat cerebella viventium. - Qui animated corpse, cricket bat max brucks terribilem incessu zomby. The voodoo sacerdos flesh eater, suscitat mortuos comedere carnem virus. Zonbi tattered for solum oculi eorum defunctis go lum cerebro. Nescio brains an Undead zombies. Sicut - malus putrid voodoo horror. Nigh tofth eliv ingdead. - -

-
- -
- -
- - - \ No newline at end of file diff --git a/03week/airplane/css/style.css b/03week/airplane/css/style.css deleted file mode 100644 index dd1380391c..0000000000 --- a/03week/airplane/css/style.css +++ /dev/null @@ -1,148 +0,0 @@ -html, -body { - margin: 0; - padding: 0; - font-family: 'Cabin', sans-serif; -} - -.mainHeader { - width: 100%; - height: 81px; - background-color: rgb(24, 58, 85, 1); - margin: 0; -} - -.logoDiv { - height: 81px; - width: 22%; - background-color: rgb(24, 58, 85, 0); - float: left; -} - -.logo { - float: right; -} - -.mainNav { - height: 81px; - width: 70%; - background-color: rgb(24, 58, 85, 0); - ; - float: left; -} - -.button { - float: right; - margin-top: 37px; - margin-left: 15px; -} - -.picture { - float: left; - margin-right: 7px; -} - -.link1 { - color: rgba(25, 105, 120, 1); - float: left; -} - -.link { - float: left; - color: white; -} - -.bodyDiv { - background-image: url(../img/airline.jpg); - background-repeat: no-repeat; - background-position: 10% 50%; - background-size: cover; - width: 100%; - height: 900px; - border-top: 1px; - border-top-style: solid; - border-top-color: whitesmoke; -} - -.formDiv { - height: 420px; - width: 470px; - background-color: rgb(24, 58, 85, 1); - margin-top: 100px; - margin-left: 75px; -} - -.formHeader { - width: 100%; - height: 50px; - background-color: rgb(24, 58, 95, 1); - ; -} - -.formButton1 { - float: left; - height: auto; - width: 33.3%; - background-color: rgb(0, 104, 183, 1); -} - -.formButtons { - float: left; - height: auto; - width: 33.3%; - background-color: rgb(1, 141, 128, 1); - ; -} - -.depart-field { - margin-left: 20px; - margin-top: 40px; - padding: 15px; - background-color: rgb(24, 58, 85, 0); - border-color: white; - border-style: solid; - color: white; -} - -.select { - margin-left: 40px; - margin-top: 40px; - font-size: 15px; - color: white; -} - -.options { - margin-left: 10%; - width: 15%; - height: 40px; - background-color: rgb(24, 58, 85, 1); - border-color: white; - border-style: solid; - border-width: 2px; - color: white; -} - -input::placeholder { - color: white; -} - -.travelOptions { - margin-left: 25px; -} - -.submit { - width: 100%; - height: auto; - padding-left: 5%; - padding-top: 5%; -} - -.submitButton { - width: 90%; - height: 60px; - background-color: rgb(0, 104, 183, 1); - border-color: rgb(0, 104, 183, 1); - border-style: solid; - color: white; - font-size: 15px; -} diff --git a/03week/airplane/img/airline.jpg b/03week/airplane/img/airline.jpg deleted file mode 100755 index 8492322faa..0000000000 Binary files a/03week/airplane/img/airline.jpg and /dev/null differ diff --git a/03week/airplane/img/car-icon.png b/03week/airplane/img/car-icon.png deleted file mode 100755 index f11b6debbf..0000000000 Binary files a/03week/airplane/img/car-icon.png and /dev/null differ diff --git a/03week/airplane/img/deal-icon.png b/03week/airplane/img/deal-icon.png deleted file mode 100755 index f6ccf30e8d..0000000000 Binary files a/03week/airplane/img/deal-icon.png and /dev/null differ diff --git a/03week/airplane/img/home-icon.png b/03week/airplane/img/home-icon.png deleted file mode 100755 index 9bb76aff5a..0000000000 Binary files a/03week/airplane/img/home-icon.png and /dev/null differ diff --git a/03week/airplane/img/hotel-icon.png b/03week/airplane/img/hotel-icon.png deleted file mode 100755 index 332c3a4e5f..0000000000 Binary files a/03week/airplane/img/hotel-icon.png and /dev/null differ diff --git a/03week/airplane/img/login-icon.png b/03week/airplane/img/login-icon.png deleted file mode 100755 index 6af6319a1a..0000000000 Binary files a/03week/airplane/img/login-icon.png and /dev/null differ diff --git a/03week/airplane/img/logo.png b/03week/airplane/img/logo.png deleted file mode 100755 index 674095cfce..0000000000 Binary files a/03week/airplane/img/logo.png and /dev/null differ diff --git a/03week/airplane/img/page_design.png b/03week/airplane/img/page_design.png deleted file mode 100755 index b82488da5b..0000000000 Binary files a/03week/airplane/img/page_design.png and /dev/null differ diff --git a/03week/airplane/img/plane-icon.png b/03week/airplane/img/plane-icon.png deleted file mode 100755 index af97f1ba78..0000000000 Binary files a/03week/airplane/img/plane-icon.png and /dev/null differ diff --git a/03week/airplane/img/schedule-icon.png b/03week/airplane/img/schedule-icon.png deleted file mode 100755 index b22462aa34..0000000000 Binary files a/03week/airplane/img/schedule-icon.png and /dev/null differ diff --git a/03week/airplane/index.html b/03week/airplane/index.html deleted file mode 100644 index 47effda451..0000000000 --- a/03week/airplane/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - Page Title - - - - - - -
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - - - -
-
Passengers - - Return - One Way -
-
- -
-
- -
- - - - diff --git a/04week/nasa/css/style.css b/04week/nasa/css/style.css deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/04week/nasa/img/nasa-background.jpg b/04week/nasa/img/nasa-background.jpg deleted file mode 100644 index 51bddf5ec5..0000000000 Binary files a/04week/nasa/img/nasa-background.jpg and /dev/null differ diff --git a/04week/nasa/index.html b/04week/nasa/index.html deleted file mode 100644 index 0dc9c8aa7c..0000000000 --- a/04week/nasa/index.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - Page Title - - - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - - - \ No newline at end of file diff --git a/04week/tomorrows-technology/css/style.css b/04week/tomorrows-technology/css/style.css deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/04week/tomorrows-technology/img/bg.jpg b/04week/tomorrows-technology/img/bg.jpg deleted file mode 100644 index a61f1a67bd..0000000000 Binary files a/04week/tomorrows-technology/img/bg.jpg and /dev/null differ diff --git a/04week/tomorrows-technology/index.html b/04week/tomorrows-technology/index.html deleted file mode 100644 index 20769f940a..0000000000 --- a/04week/tomorrows-technology/index.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - Page Title - - - - -
- div -
-
- - \ No newline at end of file diff --git a/04week/welcome-to-our-site/css/style.css b/04week/welcome-to-our-site/css/style.css index e69de29bb2..a682202553 100644 --- a/04week/welcome-to-our-site/css/style.css +++ b/04week/welcome-to-our-site/css/style.css @@ -0,0 +1,126 @@ +.mainContainer { + display: flex; + flex-direction: column; + align-items: center; + height: auto; + background-color: teal; + transition: 2s; +} + +.topContainer { + height: 30vh; + background-color: teal; + margin: auto; + margin-top: 0; + padding-top: 30vh; + align-items: center; + font-size: 7vh; + transition: 2s; +} + +.bottomContainer { + display: flex; + flex-direction: row; + background-color: rgb(0, 0, 0); + margin: auto; + width: 100%; + min-height: 50vh; + height: auto; + justify-content: space-evenly; + transition: 2s; +} + +.columnContainer { + display: flex; + flex-direction: column; + align-items: center; + background-color: black; + width: 12vw; + margin: auto; + justify-content: space-around; + color: white; + transition: background-color 2s, color 2s; +} + +.columnContainer>div:nth-of-type(2) { + height: 7vh; + width: 12vw; + text-align: center; + font-size: 7vh; +} + +.columnContainer>div:nth-of-type(1) { + height: 7vh; + width: 12vw; +} + +.columnContainer:nth-of-type(1)>div:nth-of-type(1) { + background-color: rgb(0, 255, 21); + transition: background-color 2s; +} + +.columnContainer:nth-of-type(2)>div:nth-of-type(1) { + background-color: aqua; + transition: background-color 2s; +} + +.columnContainer:nth-of-type(3)>div:nth-of-type(1) { + background-color: rgb(255, 0, 0); + transition: background-color 2s; +} + +@media (max-width: 576px) { + .mainContainer { + background-color: rgb(66, 136, 194); + } + .topContainer { + background-color: rgb(66, 136, 194); + color: white; + } + .bottomContainer { + display: flex; + flex-flow: wrap; + align-items: center; + justify-content: center; + height: auto; + width: 100%; + align-content: center; + justify-content: space-evenly; + background-color: lightgray; + } + .columnContainer { + flex: 1 100%; + display: flex; + flex-direction: column; + align-items: center; + text-align: center; + background-color: lightgrey; + margin: auto; + margin-top: 10vh; + color: white; + padding-left: 10vw; + padding-right: 10vw; + color: black; + } + .columnContainer>div:nth-of-type(2) { + font-size: 7vh; + text-align: center; + width: 40vw; + } + .columnContainer>div:nth-of-type(3) { + width: 40vw; + } + .columnContainer>div:nth-of-type(1) { + height: 7vh; + width: 40vw; + } + .columnContainer:nth-of-type(1)>div:nth-of-type(1) { + background-color: rgb(183, 0, 255); + } + .columnContainer:nth-of-type(2)>div:nth-of-type(1) { + background-color: rgb(251, 255, 0); + } + .columnContainer:nth-of-type(3)>div:nth-of-type(1) { + background-color: rgb(255, 0, 149); + } +} \ No newline at end of file diff --git a/04week/welcome-to-our-site/index.html b/04week/welcome-to-our-site/index.html index e69de29bb2..da6f83a694 100644 --- a/04week/welcome-to-our-site/index.html +++ b/04week/welcome-to-our-site/index.html @@ -0,0 +1,37 @@ + + + + + + + Page Title + + + + + +
+
+ Welcome to our site +
+
+
+
+
Title
+
Spicy jalapeno bacon ipsum dolor amet capicola sausage pork chop, chicken beef fatback pork doner prosciutto pastrami swine ground round buffalo. Chuck prosciutto tail, leberkas swine ham fatback.
+
+
+
+
Title
+
Spicy jalapeno bacon ipsum dolor amet capicola sausage pork chop, chicken beef fatback pork doner prosciutto pastrami swine ground round buffalo. Chuck prosciutto tail, leberkas swine ham fatback.
+
+
+
+
Title
+
Spicy jalapeno bacon ipsum dolor amet capicola sausage pork chop, chicken beef fatback pork doner prosciutto pastrami swine ground round buffalo. Chuck prosciutto tail, leberkas swine ham fatback.
+
+
+
+ + + \ No newline at end of file diff --git a/05week/transitions-and-transformations/css/style.css b/05week/transitions-and-transformations/css/style.css deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/05week/transitions-and-transformations/index.html b/05week/transitions-and-transformations/index.html deleted file mode 100644 index 8b13789179..0000000000 --- a/05week/transitions-and-transformations/index.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/05week/travel-gram/css/style.css b/05week/travel-gram/css/style.css deleted file mode 100644 index d3f5a12faa..0000000000 --- a/05week/travel-gram/css/style.css +++ /dev/null @@ -1 +0,0 @@ - diff --git a/05week/travel-gram/index.html b/05week/travel-gram/index.html deleted file mode 100644 index 8b13789179..0000000000 --- a/05week/travel-gram/index.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/06week/dice/css/style.css b/06week/dice/css/style.css deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/06week/dice/index.html b/06week/dice/index.html deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/06week/dice/js/script.js b/06week/dice/js/script.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/06week/javascripting/introduction.js b/06week/javascripting/introduction.js deleted file mode 100644 index 8b13789179..0000000000 --- a/06week/javascripting/introduction.js +++ /dev/null @@ -1 +0,0 @@ - diff --git a/07week/calculator/css/style.css b/07week/calculator/css/style.css deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/07week/calculator/index.html b/07week/calculator/index.html deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/07week/calculator/js/script.js b/07week/calculator/js/script.js deleted file mode 100644 index c1dcbe6c5c..0000000000 --- a/07week/calculator/js/script.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -document.addEventListener("DOMContentLoaded", function(event) { - // You code here -}); diff --git a/07week/dom-practice/css/style.css b/07week/dom-practice/css/style.css deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/07week/dom-practice/index.html b/07week/dom-practice/index.html deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/07week/dom-practice/js/script.js b/07week/dom-practice/js/script.js deleted file mode 100644 index c1dcbe6c5c..0000000000 --- a/07week/dom-practice/js/script.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -document.addEventListener("DOMContentLoaded", function(event) { - // You code here -}); diff --git a/08week/tic-tac-toe/index.html b/08week/tic-tac-toe/index.html deleted file mode 100644 index 37e4c9f386..0000000000 --- a/08week/tic-tac-toe/index.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - Tic Tac Toe - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - - - - diff --git a/08week/tic-tac-toe/script.js b/08week/tic-tac-toe/script.js deleted file mode 100644 index 0509eaee74..0000000000 --- a/08week/tic-tac-toe/script.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -$(document).ready(function() { - // Put app logic in here -}); diff --git a/08week/tic-tac-toe/style.css b/08week/tic-tac-toe/style.css deleted file mode 100644 index d550b6372c..0000000000 --- a/08week/tic-tac-toe/style.css +++ /dev/null @@ -1,18 +0,0 @@ -div[data-cell] { - width: 100px; - height: 100px; - background-color: #f2f2f2; - float: left; - border: 1px solid #808080; - font-size: 100px; - text-align: center; -} - -.row { - clear: both; -} - -#announce-winner { - clear: both; - font-size: 50px; -} diff --git a/08week/tic-tac-toe/test.js b/08week/tic-tac-toe/test.js deleted file mode 100644 index 49591c3939..0000000000 --- a/08week/tic-tac-toe/test.js +++ /dev/null @@ -1,135 +0,0 @@ -var jsdom = require('jsdom'); -var assert = require('assert'); -var path = require('path'); - -// send browser log statements to node console -var virtualConsole = jsdom.createVirtualConsole().sendTo(console); - -// handy globals for assertions in each test -var document; -var $; - -// get jsdom ready before each test (and wait for document ready event) -beforeEach(function (done) { - jsdom.env( - { - file: path.resolve(__dirname, 'index.html'), - scripts: [ - path.resolve(__dirname, '../../node_modules/jquery/dist/jquery.js'), - path.resolve(__dirname, 'script.js') - ], - virtualConsole: virtualConsole, - done: function (err, window) { - if (err) throw err; - document = window.document; - $ = window.$; - $(document).on('ready', function () { - done(); - }); - } - } - ); -}); - -describe('board state', function () { - it('should start empty', function () { - for (var i = 0; i <= 8; i += 1) { - assert.equal($('div[data-cell=' + i + ']').text(), ''); - } - }); - - it ('should put an x then an o on alternating clicks', function () { - var $cell1 = $('div[data-cell=1]'); - var $cell2 = $('div[data-cell=2]'); - $cell1.click(); - assert.equal($cell1.text(), 'X'); - $cell2.click(); - assert.equal($cell2.text(), 'O'); - }); -}); - -describe('detect a win', function () { - describe('horizontal', function () { - it('should detect a win in row 1', function () { - [ { x: 0, o: 3 }, { x: 1, o: 4 }, { x: 2, o: 6 }].forEach(function (cellNumbers) { - $('div[data-cell=' + cellNumbers.x + ']').click(); - $('div[data-cell=' + cellNumbers.o + ']').click(); - }); - assert.equal($('#announce-winner').text().toLowerCase(), 'player x wins!'); - }); - - it('should detect a win in row 2', function () { - [ { x: 0, o: 3 }, { x: 1, o: 4 }, { x: 8, o: 5 }].forEach(function (cellNumbers) { - $('div[data-cell=' + cellNumbers.x + ']').click(); - $('div[data-cell=' + cellNumbers.o + ']').click(); - }); - assert.equal($('#announce-winner').text().toLowerCase(), 'player o wins!'); - }); - - it('should detect a win in row 3', function () { - [ { x: 6, o: 0 }, { x: 7, o: 1 }, { x: 8, o: 4 }].forEach(function (cellNumbers) { - $('div[data-cell=' + cellNumbers.x + ']').click(); - $('div[data-cell=' + cellNumbers.o + ']').click(); - }); - assert.equal($('#announce-winner').text().toLowerCase(), 'player x wins!'); - }); - }); - - describe('vertical', function () { - it('should detect a win in column 1', function () { - [ { x: 0, o: 1 }, { x: 3, o: 4 }, { x: 6, o: 8 }].forEach(function (cellNumbers) { - $('div[data-cell=' + cellNumbers.x + ']').click(); - $('div[data-cell=' + cellNumbers.o + ']').click(); - }); - assert.equal($('#announce-winner').text().toLowerCase(), 'player x wins!'); - }); - - it('should detect a win in column 2', function () { - [ { x: 0, o: 1 }, { x: 3, o: 4 }, { x: 8, o: 7 }].forEach(function (cellNumbers) { - $('div[data-cell=' + cellNumbers.x + ']').click(); - $('div[data-cell=' + cellNumbers.o + ']').click(); - }); - assert.equal($('#announce-winner').text().toLowerCase(), 'player o wins!'); - }); - - it('should detect a win in column 3', function () { - [ { x: 2, o: 0 }, { x: 5, o: 1 }, { x: 8, o: 4 }].forEach(function (cellNumbers) { - $('div[data-cell=' + cellNumbers.x + ']').click(); - $('div[data-cell=' + cellNumbers.o + ']').click(); - }); - assert.equal($('#announce-winner').text().toLowerCase(), 'player x wins!'); - }); - }); - - describe('diagonal', function () { - it('should detect a downward diagonal win', function () { - [ { x: 0, o: 1 }, { x: 4, o: 5 }, { x: 8, o: 3 }].forEach(function (cellNumbers) { - $('div[data-cell=' + cellNumbers.x + ']').click(); - $('div[data-cell=' + cellNumbers.o + ']').click(); - }); - assert.equal($('#announce-winner').text().toLowerCase(), 'player x wins!'); - }); - - it('should detect an upward diagonal win', function () { - [ { x: 1, o: 2 }, { x: 3, o: 4 }, { x: 8, o: 6 }].forEach(function (cellNumbers) { - $('div[data-cell=' + cellNumbers.x + ']').click(); - $('div[data-cell=' + cellNumbers.o + ']').click(); - }); - assert.equal($('#announce-winner').text().toLowerCase(), 'player o wins!'); - }); - }); -}); - -describe('clear board', function () { - it('should clear the board', function () { - var $cell1 = $('div[data-cell=1]'); - var $cell2 = $('div[data-cell=2]'); - $cell1.click(); - $cell2.click(); - assert.equal($cell1.text(), 'X'); - assert.equal($cell2.text(), 'O'); - $('#clear').click(); - assert.equal($cell1.text(), ''); - assert.equal($cell2.text(), ''); - }); -}); diff --git a/09week/customer-satisfaction/css/style.css b/09week/customer-satisfaction/css/style.css deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/09week/customer-satisfaction/index.html b/09week/customer-satisfaction/index.html deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/09week/customer-satisfaction/js/script.js b/09week/customer-satisfaction/js/script.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/09week/towers-of-hanoi/index.html b/09week/towers-of-hanoi/index.html deleted file mode 100644 index 2c7189c758..0000000000 --- a/09week/towers-of-hanoi/index.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - Towers of Hanoi - - - -
-
-
-
-
-
-
-
-
-
-
- - - - diff --git a/09week/towers-of-hanoi/script.js b/09week/towers-of-hanoi/script.js deleted file mode 100644 index ba46e37e29..0000000000 --- a/09week/towers-of-hanoi/script.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -$(document).ready(function() { - // Put app logic here -}); diff --git a/09week/towers-of-hanoi/style.css b/09week/towers-of-hanoi/style.css deleted file mode 100644 index 2fc6989236..0000000000 --- a/09week/towers-of-hanoi/style.css +++ /dev/null @@ -1,38 +0,0 @@ -[data-stack] { - display: flex; - justify-content: flex-start; - align-items: center; - height: 101px; - background-color: aliceblue; - margin: 25px; -} - -[data-block] { - width: 25px; - float: left; -} - -[data-block="25"] { - height: 25px; - background-color: blue; -} - -[data-block="50"] { - height: 50px; - background-color: green; -} - -[data-block="75"] { - height: 75px; - background-color: red; -} - -[data-block="100"] { - height: 100px; - background-color: yellow; -} - -#announce-game-won { - font-size: 50px; - text-align: center; -} diff --git a/09week/towers-of-hanoi/test.js b/09week/towers-of-hanoi/test.js deleted file mode 100644 index 5d1669e6b5..0000000000 --- a/09week/towers-of-hanoi/test.js +++ /dev/null @@ -1,138 +0,0 @@ -var jsdom = require('jsdom'); -var assert = require('assert'); -var path = require('path'); - -// send browser log statements to node console -var virtualConsole = jsdom.createVirtualConsole().sendTo(console); - -// handy globals for assertions in each test -var document; -var $; - -// get jsdom ready before each test (and wait for document ready event) -beforeEach(function (done) { - jsdom.env( - { - file: path.resolve(__dirname, 'index.html'), - scripts: [ - path.resolve(__dirname, '../../node_modules/jquery/dist/jquery.js'), - path.resolve(__dirname, 'script.js') - ], - virtualConsole: virtualConsole, - done: function (err, window) { - if (err) { - throw err; - } - document = window.document; - $ = window.$; - $(document).on('ready', function () { - done(); - }); - } - } - ); -}); - -describe('basic moves', function () { - it ('should be able to move to an empty stack', function () { - var $stack1 = $('[data-stack=1]'); - var $stack2 = $('[data-stack=2]'); - assert.equal($stack1.children().length, 4); - assert.equal($stack2.children().length, 0); - - $stack1.click(); - assert.equal($stack1.children().length, 3); - - $stack2.click(); - assert.equal($stack2.children().length, 1); - }); - - it ('should be able to move to a nonempty stack', function () { - var $stack1 = $('[data-stack=1]'); - var $stack2 = $('[data-stack=2]'); - var $stack3 = $('[data-stack=3]'); - var assertStackLengths = function (len1, len2, len3) { - assert.equal($stack1.children().length, len1); - assert.equal($stack2.children().length, len2); - assert.equal($stack3.children().length, len3); - }; - - assertStackLengths(4, 0, 0); - - $stack1.click(); - assertStackLengths(3, 0, 0); - - $stack2.click(); - assertStackLengths(3, 1, 0); - - $stack1.click(); - assertStackLengths(2, 1, 0); - - $stack3.click(); - assertStackLengths(2, 1, 1); - - $stack2.click(); - assertStackLengths(2, 0, 1); - - $stack3.click(); - assertStackLengths(2, 0, 2); - }); -}); - -describe('illegal move', function () { - it ('should not place bigger blocks on smaller ones', function () { - var $stack1 = $('[data-stack=1]'); - var $stack2 = $('[data-stack=2]'); - var $stack3 = $('[data-stack=3]'); - var assertStackLengths = function (len1, len2, len3) { - assert.equal($stack1.children().length, len1); - assert.equal($stack2.children().length, len2); - assert.equal($stack3.children().length, len3); - }; - - assertStackLengths(4, 0, 0); - - $stack1.click(); - assertStackLengths(3, 0, 0); - - $stack2.click(); - assertStackLengths(3, 1, 0); - - $stack1.click(); - assertStackLengths(2, 1, 0); - - $stack2.click(); - - // should not place the block! - assertStackLengths(2, 1, 0); - }); -}); - -describe('detect a win', function () { - it ('should detect a win in stack 2', function () { - var $stack1 = $('[data-stack=1]'); - var $stack2 = $('[data-stack=2]'); - var $stack3 = $('[data-stack=3]'); - var stacks = [ $stack1, $stack2, $stack3 ]; - [ - 1, 3, - 1, 2, - 3, 2, - 1, 3, - 2, 1, - 2, 3, - 1, 3, - 1, 2, - 3, 2, - 3, 1, - 2, 1, - 3, 2, - 1, 3, - 1, 2, - 3, 2 - ].forEach(function (stackNum) { - stacks[stackNum - 1].click(); - }); - assert.equal($('#announce-game-won').text().toLowerCase(), 'you won!'); - }); -}); diff --git a/10week/bio-part-2/css/style.css b/10week/bio-part-2/css/style.css deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/10week/bio-part-2/index.html b/10week/bio-part-2/index.html deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/10week/bio-part-2/js/script.js b/10week/bio-part-2/js/script.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/challenges/01challenge/index.html b/challenges/01challenge/index.html deleted file mode 100644 index 80b42e827d..0000000000 --- a/challenges/01challenge/index.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - Challenge 01 - - - -

Heading Text

-

Some content

- - -
-
- - -
-
Item 0
-
Item 1
-
Item 2
-
Item 3
-
Item 4
-
Item 5
-
Item 6
-
Item 7
-
Item 8
-
Item 9
-
- - -
I'm Catbug!
-
- - -
-
-
- - - - - diff --git a/challenges/01challenge/script.js b/challenges/01challenge/script.js deleted file mode 100644 index 52196805d2..0000000000 --- a/challenges/01challenge/script.js +++ /dev/null @@ -1,88 +0,0 @@ -'use strict'; - -$(document).on('ready', function() { - - // **** - // jQuery - // **** - - // **** - // element selectors - // **** - - // Problem 1: - // select the h1 element - // assign the selected jQuery object to the property window.h1 - window.h1; - - // Problem 2: - // select the p element - // assign the selected jQuery object to the the property window.p - window.p; - - // **** - // id selectors - // **** - - // Problem 3: - // select the element with id="main" - // assign the selected jQuery object to the property window.idMain - window.idMain; - - // Problem 4: - // select the element with id="secondary" - // assign the selected jQuery object to the the property window.idSecondary - window.idSecondary; - - // **** - // class selectors - // **** - - // Problem 5: - // select the element with class="container" - // assign the selected jQuery object to the property window.container - window.container; - - // Problem 6: - // select the elements with class="item" - // assign the selected jQuery object to the the property window.items - window.items; - - // **** - // attribute selectors - // **** - - // Problem 7: - // select the element with the data-id attribute - // assign the selected jQuery object to the property window.dataId - window.dataId; - - // Problem 8: - // select the element with the data-price attribute - // assign the selected jQuery object to the the property window.dataPrice - window.dataPrice; - - // **** - // dom manipulation - // **** - - // Problem 9: - // select the element with id="insert-text" - // then set the text of this element to "Text Has Been Inserted" - - - // Problem 10: - // select the element with id="add-attribute" - // add the attribute data-color="red" to that element - - - // Problem 11: - // select the element with id="data-element" - // and set window.dataIdValue to the value of the data-id attribute of the element - // you can do this by calling .data() on the selected element - window.dataIdValue; - - // Problem 12: - // select the element with id="data-element" - // and set its text (.text()) to the value of the data-content attribute -}); diff --git a/challenges/01challenge/test.js b/challenges/01challenge/test.js deleted file mode 100644 index 542cc85e71..0000000000 --- a/challenges/01challenge/test.js +++ /dev/null @@ -1,132 +0,0 @@ -var jsdom = require('jsdom'); -var assert = require('assert'); -var path = require('path'); - -// send browser log statements to node console -var virtualConsole = jsdom.createVirtualConsole().sendTo(console); - -// handy globals for assertions in each test -var document; -var $; -var window; - -// get jsdom ready before each test (and wait for document ready event) -beforeEach(function (done) { - jsdom.env( - { - file: path.resolve(__dirname, 'index.html'), - scripts: [ - path.resolve(__dirname, '../../node_modules/jquery/dist/jquery.js'), - path.resolve(__dirname, 'script.js') - ], - virtualConsole, - done(err, jsdomWindow) { - if (err) { - throw err; - } - document = jsdomWindow.document; - $ = jsdomWindow.$; - window = jsdomWindow; - $(document).on('ready', function () { - done(); - }); - } - } - ); -}); - -describe('Challenge 01', function () { - describe('element selectors', function () { - - describe('Problem 1: window.h1', function () { - it('should have the h1 element selected', function () { - assert($('h1').is(window.h1)); - }); - }); - - describe('Problem 2: window.p', function () { - it('should have the p element selected', function () { - assert($('p').is(window.p)); - }); - }); - - }); - - describe('id selectors', function () { - - describe('Problem 3: window.idMain', function () { - it('should have the #main element selected', function () { - assert($('#main').is(window.idMain)); - }); - }); - - describe('Problem 4: window.idSecondary', function () { - it('should have the #secondary element selected', function () { - assert($('#secondary').is(window.idSecondary)); - }); - }); - - }); - - describe('class selectors', function () { - - describe('Problem 5: window.container', function () { - it('should have the .container element selected', function () { - assert($('.container').is(window.container)); - }); - }); - - describe('Problem 6: window.items', function () { - it('should have the .item elements selected', function () { - assert($('.item').is(window.items)); - }); - }); - - }); - - describe('attribute selectors', function () { - - describe('Problem 7: window.dataId', function () { - it('should have the [data-id] element selected', function () { - assert($('[data-id]').is(window.dataId)); - }); - }); - - describe('Problem 8: window.dataPrice', function () { - it('should have the [data-price] element selected', function () { - assert($('[data-price]').is(window.dataPrice)); - }); - }); - - }); - - describe('dom manipulation', function () { - - describe('Problem 9: #insert-text', function () { - it('should have inserted "Text Has Been Inserted" into #insert-text', function () { - assert.equal($('#insert-text').text(), 'Text Has Been Inserted'); - }); - }); - - describe('Problem 10: #add-attribute', function () { - it('should have added data-color="red" to #add-attribute', function () { - assert($('#add-attribute').is($('[data-color]'))); - assert.equal($('#add-attribute').attr('data-color'), 'red'); - }); - }); - - describe('Problem 11: #data-element data-id value', function () { - it('should have put the data-id value into window.dataIdValue', function () { - assert.equal($('#data-element').data('id'), window.dataIdValue); - }); - }); - - describe('Problem 12: #data-element set text to value of data-content', function () { - it('should have set the text to the value of the data-content attribute', function () { - assert.equal($('#data-element').data('content'), $('#data-element').text()); - }); - }); - - }); - -}); diff --git a/challenges/02challenge/index.html b/challenges/02challenge/index.html deleted file mode 100644 index 3185eb85a7..0000000000 --- a/challenges/02challenge/index.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Challenge 02 - - - - - - - - - - - - - diff --git a/challenges/02challenge/script.js b/challenges/02challenge/script.js deleted file mode 100644 index 2739c7d980..0000000000 --- a/challenges/02challenge/script.js +++ /dev/null @@ -1,46 +0,0 @@ -'use strict'; - -$(document).on('ready', function() { - - // **** - // jQuery - // **** - - // **** - // more dom manipulation - // **** - - // First, I'm going to select these for you - var $firstList = $('#first-list'); - var $secondList = $('#second-list'); - var $finalList = $('#final-list'); - - // Problem 1: - // Get the children of #first-list using the .children() method - window.firstListChildren = null; - - // Problem 2: - // Get the children of #second-list using the .children() method - window.secondListChildren = null; - - // Problem 3: - // Now use the .detach() method on window.firstListChildren to - // remove those elements from the document - window.firstListChildren; - - // Problem 4: - // Now use the .detach() method on window.secondListChildren to - // remove those elements from the document - window.secondListChildren; - - // Problem 5: - // use $finalList.prepend() to put window.firstListChildren - // at the beggining of #final-list - $finalList; - - // Problem 6: - // use $finalList.append() to put window.secondListChildren - // at the end of #final-list - $finalList; - -}); diff --git a/challenges/02challenge/test.js b/challenges/02challenge/test.js deleted file mode 100644 index c549ba616b..0000000000 --- a/challenges/02challenge/test.js +++ /dev/null @@ -1,78 +0,0 @@ -var jsdom = require("jsdom"); -var assert = require('assert'); -var path = require('path'); - -// send browser log statements to node console -var virtualConsole = jsdom.createVirtualConsole().sendTo(console); - -// handy globals for assertions in each test -var document; -var $; -var window; - -// get jsdom ready before each test (and wait for document ready event) -beforeEach(function (done) { - jsdom.env( - { - file: path.resolve(__dirname, 'index.html'), - scripts: [ - path.resolve(__dirname, '../../node_modules/jquery/dist/jquery.js'), - path.resolve(__dirname, 'script.js') - ], - virtualConsole: virtualConsole, - done: function (err, jsdomWindow) { - if (err) throw err; - document = jsdomWindow.document; - $ = jsdomWindow.$; - window = jsdomWindow; - $(document).on('ready', function () { - done(); - }); - } - } - ); -}); - -describe('Challenge 02', function () { - - describe('Problem 1: window.firstListChildren', function () { - it('should be the children of #first-list', function () { - assert(window.firstListChildren.is('li')); - assert.equal(window.firstListChildren.text(), 'Catbug'); - }); - }); - - describe('Problem 2: window.secondListChildren', function () { - it('should be the children of #second-list', function () { - assert(window.secondListChildren.is('li')); - assert.equal(window.secondListChildren.text(), 'Impossibear'); - }); - }); - - describe('Problem 3: window.firstListChildren.detach()', function () { - it('should have removed window.firstListChildren from the document', function () { - assert($('#first-list').children().length === 0); - }); - }); - - describe('Problem 4: window.secondListChildren', function () { - it('should have removed window.secondListChildren from the document', function () { - assert($('#second-list').children().length === 0); - }); - }); - - describe('Problem 5: $finalList.prepend()', function () { - it('should have prepended Catbug to #final-list', function () { - assert($('#final-list').children().first().is('li')); - assert.equal($('#final-list').children().first().text(), 'Catbug'); - }); - }); - - describe('Problem 6: $finalList.append()', function () { - it('should have appended Impossibear to #final-list', function () { - assert($('#final-list').children().last().is('li')); - assert.equal($('#final-list').children().last().text(), 'Impossibear'); - }); - }); - -}); diff --git a/challenges/03challenge/index.html b/challenges/03challenge/index.html deleted file mode 100644 index 20a7266b26..0000000000 --- a/challenges/03challenge/index.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - Todo - - - -
-
TODO
-
- - -
- -
- - - - - - diff --git a/challenges/03challenge/script.js b/challenges/03challenge/script.js deleted file mode 100644 index 8f2f0a9ba8..0000000000 --- a/challenges/03challenge/script.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -$(document).ready(function() { - // App logic goes here -}); diff --git a/challenges/03challenge/style.css b/challenges/03challenge/style.css deleted file mode 100644 index 7b634f4e5b..0000000000 --- a/challenges/03challenge/style.css +++ /dev/null @@ -1,61 +0,0 @@ -*:focus { - outline-style: none !important; - outline: 0 !important; -} - -#content { - margin: 0 auto; - width: 100%; - max-width: 275px; -} - -.header { - text-align: center; - margin: 20px; - font-size: 40px; -} - -#todo-list { - margin: 20px 0; - padding: 0; -} - -form { - text-align: center; -} - -#todo-list li { - display: table; - margin: 10px auto; - padding: 10px 0; - border: 1px solid #ccc; - -webkit-border-radius: 5px; - border-radius: 5px; - text-align: center; - background-color: #fdfdfd; - width: 100%; -} - -#todo-list li span { - text-align: right; -} - - -input[type="submit"] { - padding:5px 0; - text-align: center; - background:#ccc; - border: 0 none; - -webkit-border-radius: 0px; - border-radius: 0px; - font-size: 14px; - width: 20%; -} - -input[type=text] { - padding:6px; - border:1px solid #ccc; - -webkit-border-radius: 0px; - border-radius: 0px; - width: 65%; -} diff --git a/challenges/03challenge/test.js b/challenges/03challenge/test.js deleted file mode 100644 index 4eb309a08b..0000000000 --- a/challenges/03challenge/test.js +++ /dev/null @@ -1,76 +0,0 @@ -var jsdom = require('jsdom'); -var assert = require('assert'); -var path = require('path'); - -// send browser log statements to node console -var virtualConsole = jsdom.createVirtualConsole().sendTo(console); - -// handy globals for assertions in each test -var document; -var $; -var sortableWasCalledOnCorrectElement = false; - -// get jsdom ready before each test (and wait for document ready event) -beforeEach(function (done) { - jsdom.env( - { - file: path.resolve(__dirname, 'index.html'), - scripts: [ - path.resolve(__dirname, '../../node_modules/jquery/dist/jquery.js'), - path.resolve(__dirname, 'script.js'), - - ], - virtualConsole: virtualConsole, - done: function (err, window) { - if (err) { - throw err; - } - document = window.document; - $ = window.$; - - /* jquery-ui doesn't load in JSDOM, so let's provide a - * fake implementation of $.fn.sortable */ - $.fn.sortable = function () { - sortableWasCalledOnCorrectElement = (this.get(0) === document.getElementById('todo-list')); - }; - - $(document).on('ready', function () { - done(); - }); - } - } - - ); -}); - -describe('submit listener', function () { - it ('should have a submit listener on the form', function () { - var form = document.querySelector('form'); - var events = $._data(form, 'events'); - assert.ok(events && events.submit && events.submit.length === 1); - }); -}); - -describe('add todo', function () { - it ('should add todo text to the list', function () { - $('#todo').val('write code'); - $('form').submit(); - assert.ok($('#todo-list').html().indexOf('write code') >= 0); - }); - - it ('should add todo text as an li tag', function () { - - /* clear list beforehand in case we've removed the initial li - * for the bonus specs */ - $('#todo-list').children().detach(); - $('#todo').val('write code'); - $('form').submit(); - assert.equal($('#todo-list').find('li').text(), ('write code')); - }); -}); - -describe('should be sortable', function () { - it('should be designated as jquery-ui sortable', function () { - assert.ok(sortableWasCalledOnCorrectElement); - }); -}); diff --git a/challenges/04challenge/index.html b/challenges/04challenge/index.html deleted file mode 100644 index 425a4cfe1d..0000000000 --- a/challenges/04challenge/index.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - Address Book - - - - - - - - - - - - - - - - - - - -
IDFirst NameLast Name
0firstlastview
-
-

first last

-

student

-

5551234567

-

- 123 Whatever Street, Austin, TX 78701 -

- -
- - - - diff --git a/challenges/04challenge/script.js b/challenges/04challenge/script.js deleted file mode 100644 index 9be38659c8..0000000000 --- a/challenges/04challenge/script.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -$(document).ready(function() { - // You code here -}); diff --git a/challenges/04challenge/test.js b/challenges/04challenge/test.js deleted file mode 100644 index ad381f55d0..0000000000 --- a/challenges/04challenge/test.js +++ /dev/null @@ -1,120 +0,0 @@ -var jsdom = require('jsdom'); -var assert = require('assert'); -var path = require('path'); -var nock = require('nock'); - -// send browser log statements to node console -var virtualConsole = jsdom.createVirtualConsole().sendTo(console); - -// handy globals for assertions in each test -var document; -var $; -var usersNock, userNock; - -// get jsdom ready before each test (and wait for document ready event) -beforeEach(function (done) { - - usersNock = nock('https://reqres-api.herokuapp.com') - .defaultReplyHeaders({ - 'Access-Control-Allow-Origin': '*', - 'Content-Type': 'application/json' - }) - .get('/api/users') - .reply(200, function () { - return [{ - id: 1, - first_name: 'Velma', - last_name: 'Dinkley' - }, { - id: 2, - first_name: 'Scooby', - last_name: 'Doo' - }]; - }); - - jsdom.env( - { - file: path.resolve(__dirname, 'index.html'), - scripts: [ - path.resolve(__dirname, '../../node_modules/jquery/dist/jquery.js'), - path.resolve(__dirname, 'script.js'), - - ], - virtualConsole: virtualConsole, - done: function (err, window) { - if (err) { - throw err; - } - document = window.document; - $ = window.$; - $.support.cors = true; // enable cross-domain requests - - $(document).on('ready', function () { - done(); - }); - } - } - - ); -}); - -afterEach(function () { - nock.cleanAll(); -}); - -describe('get users', function () { - it ('should use $.ajax to get users and build tr tags', function (done) { - var $tbody = $('tbody'); - - // clear tbody beforehand in case we've removed seed data - $tbody.children().detach(); - - // need a second to get the markup to be appended - setTimeout(function () { - assert.equal($tbody.find('tr').length, 2); - assert.ok(nock.isDone()); - done(); - }, 1000); - }); -}); - -describe('get specific user details', function () { - it ('should use $.ajax to get a user\'s details', function (done) { - - userNock = nock('https://reqres-api.herokuapp.com') - .defaultReplyHeaders({ - 'Access-Control-Allow-Origin': '*', - 'Content-Type': 'application/json' - }) - .get('/api/users/1') - .reply(200, function () { - return { - id: 1, - first_name: 'Velma', - last_name: 'Dinkley', - occupation: 'Mystery Solver', - phone: '5558675309', - address: 'Mystery Machine, middle seat', - avatar: 'https://upload.wikimedia.org/wikipedia/en/9/9d/Velma_Dinkley.png' - }; - }); - var $tbody = $('tbody'); - - // need a second to get the markup to be appended - setTimeout(function () { - $('[data-id="1"]').click(); - setTimeout(function () { - var detailsHtml = $('#details').html(); - assert.ok(nock.isDone()); - assert.ok(detailsHtml.indexOf('Velma') >= 0); - assert.ok(detailsHtml.indexOf('Dinkley') >= 0); - assert.ok(detailsHtml.indexOf('Mystery Solver') >= 0); - assert.ok(detailsHtml.indexOf('5558675309') >= 0); - assert.ok(detailsHtml.indexOf('Mystery Machine, middle seat') >= 0); - assert.ok(detailsHtml.indexOf('https://upload.wikimedia.org/wikipedia/en/9/9d/Velma_Dinkley.png') >= 0); - done(); - - }, 500); - }, 500); - }); -}); diff --git a/challenges/05challenge/api/gists.json b/challenges/05challenge/api/gists.json deleted file mode 100644 index 77cdb74a2c..0000000000 --- a/challenges/05challenge/api/gists.json +++ /dev/null @@ -1,137 +0,0 @@ -[ - { - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/214debaa24a258a85fa6.json", - "forks_url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/214debaa24a258a85fa6/forks", - "commits_url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/214debaa24a258a85fa6/commits", - "id": "214debaa24a258a85fa6", - "git_pull_url": "https://gist.github.com/214debaa24a258a85fa6.git", - "git_push_url": "https://gist.github.com/214debaa24a258a85fa6.git", - "html_url": "https://gist.github.com/214debaa24a258a85fa6", - "files": { - "post.md": { - "filename": "post.md", - "type": "text/plain", - "language": "Markdown", - "raw_url": "https://gist.githubusercontent.com/mistakevin/214debaa24a258a85fa6/raw/ae2be6814103094afc549a9c356a65657501ffbe/post.md", - "size": 112 - } - }, - "public": true, - "created_at": "2016-01-17T16:38:43Z", - "updated_at": "2016-01-17T16:39:17Z", - "description": "#post Here's Another Post", - "comments": 1, - "user": null, - "comments_url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/214debaa24a258a85fa6/comments.json", - "owner": { - "login": "mistakevin", - "id": 4411115, - "avatar_url": "https://avatars.githubusercontent.com/u/4411115?v=3", - "gravatar_id": "", - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin", - "html_url": "https://github.com/mistakevin", - "followers_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/followers", - "following_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/following{/other_user}", - "gists_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/gists{/gist_id}", - "starred_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/starred{/owner}{/repo}", - "subscriptions_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/subscriptions", - "organizations_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/orgs", - "repos_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/repos", - "events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/events{/privacy}", - "received_events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/received_events", - "type": "User", - "site_admin": false - }, - "truncated": false - }, - { - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/88b4b967cd89b99da6e3.json", - "forks_url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/88b4b967cd89b99da6e3/forks", - "commits_url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/88b4b967cd89b99da6e3/commits", - "id": "88b4b967cd89b99da6e3", - "git_pull_url": "https://gist.github.com/88b4b967cd89b99da6e3.git", - "git_push_url": "https://gist.github.com/88b4b967cd89b99da6e3.git", - "html_url": "https://gist.github.com/88b4b967cd89b99da6e3", - "files": { - "post.md": { - "filename": "post.md", - "type": "text/plain", - "language": "Markdown", - "raw_url": "https://gist.githubusercontent.com/mistakevin/88b4b967cd89b99da6e3/raw/7e1509a0ce6f8429157bf9dcfef4faeb4b13a005/post.md", - "size": 193 - } - }, - "public": true, - "created_at": "2016-01-17T16:36:43Z", - "updated_at": "2016-01-17T16:39:32Z", - "description": "#post My First Post!", - "comments": 2, - "user": null, - "comments_url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/88b4b967cd89b99da6e3/comments.json", - "owner": { - "login": "mistakevin", - "id": 4411115, - "avatar_url": "https://avatars.githubusercontent.com/u/4411115?v=3", - "gravatar_id": "", - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin", - "html_url": "https://github.com/mistakevin", - "followers_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/followers", - "following_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/following{/other_user}", - "gists_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/gists{/gist_id}", - "starred_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/starred{/owner}{/repo}", - "subscriptions_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/subscriptions", - "organizations_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/orgs", - "repos_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/repos", - "events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/events{/privacy}", - "received_events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/received_events", - "type": "User", - "site_admin": false - }, - "truncated": false - }, - { - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/1e8d13a7a5afa02fa939.json", - "forks_url": "api/gists/1e8d13a7a5afa02fa939/forks", - "commits_url": "api/gists/1e8d13a7a5afa02fa939/commits", - "id": "1e8d13a7a5afa02fa939", - "git_pull_url": "https://gist.github.com/1e8d13a7a5afa02fa939.git", - "git_push_url": "https://gist.github.com/1e8d13a7a5afa02fa939.git", - "html_url": "https://gist.github.com/1e8d13a7a5afa02fa939", - "files": { - "whatevs.js": { - "filename": "whatevs.js", - "type": "application/javascript", - "language": "JavaScript", - "raw_url": "https://gist.githubusercontent.com/mistakevin/1e8d13a7a5afa02fa939/raw/166e7ef13080e98a43a92ef93a132fba8fe61f8b/whatevs.js", - "size": 51 - } - }, - "public": true, - "created_at": "2016-01-17T16:40:46Z", - "updated_at": "2016-01-17T16:40:46Z", - "description": "Some other file or gist :(", - "comments": 0, - "user": null, - "comments_url": "api/gists/1e8d13a7a5afa02fa939/comments.json", - "owner": { - "login": "mistakevin", - "id": 4411115, - "avatar_url": "https://avatars.githubusercontent.com/u/4411115?v=3", - "gravatar_id": "", - "url": "api/users/mistakevin", - "html_url": "https://github.com/mistakevin", - "followers_url": "api/users/mistakevin/followers", - "following_url": "api/users/mistakevin/following{/other_user}", - "gists_url": "api/users/mistakevin/gists{/gist_id}", - "starred_url": "api/users/mistakevin/starred{/owner}{/repo}", - "subscriptions_url": "api/users/mistakevin/subscriptions", - "organizations_url": "api/users/mistakevin/orgs", - "repos_url": "api/users/mistakevin/repos", - "events_url": "api/users/mistakevin/events{/privacy}", - "received_events_url": "api/users/mistakevin/received_events", - "type": "User", - "site_admin": false - }, - "truncated": false - } -] diff --git a/challenges/05challenge/api/gists/1e8d13a7a5afa02fa939.json b/challenges/05challenge/api/gists/1e8d13a7a5afa02fa939.json deleted file mode 100644 index 747a505683..0000000000 --- a/challenges/05challenge/api/gists/1e8d13a7a5afa02fa939.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/1e8d13a7a5afa02fa939.json", - "forks_url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/1e8d13a7a5afa02fa939/forks", - "commits_url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/1e8d13a7a5afa02fa939/commits", - "id": "1e8d13a7a5afa02fa939", - "git_pull_url": "https://gist.github.com/1e8d13a7a5afa02fa939.git", - "git_push_url": "https://gist.github.com/1e8d13a7a5afa02fa939.git", - "html_url": "https://gist.github.com/1e8d13a7a5afa02fa939", - "files": { - "whatevs.js": { - "filename": "whatevs.js", - "type": "application/javascript", - "language": "JavaScript", - "raw_url": "https://gist.githubusercontent.com/mistakevin/1e8d13a7a5afa02fa939/raw/166e7ef13080e98a43a92ef93a132fba8fe61f8b/whatevs.js", - "size": 51, - "truncated": false, - "content": "// Turn back now. You are not supposed to see this." - } - }, - "public": true, - "created_at": "2016-01-17T16:40:46Z", - "updated_at": "2016-01-17T16:40:46Z", - "description": "Some other file or gist :(", - "comments": 0, - "user": null, - "comments_url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/1e8d13a7a5afa02fa939/comments.json", - "owner": { - "login": "mistakevin", - "id": 4411115, - "avatar_url": "https://avatars.githubusercontent.com/u/4411115?v=3", - "gravatar_id": "", - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin", - "html_url": "https://github.com/mistakevin", - "followers_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/followers", - "following_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/following{/other_user}", - "gists_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/gists{/gist_id}", - "starred_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/starred{/owner}{/repo}", - "subscriptions_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/subscriptions", - "organizations_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/orgs", - "repos_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/repos", - "events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/events{/privacy}", - "received_events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/received_events", - "type": "User", - "site_admin": false - }, - "forks": [ - - ], - "history": [ - { - "user": { - "login": "mistakevin", - "id": 4411115, - "avatar_url": "https://avatars.githubusercontent.com/u/4411115?v=3", - "gravatar_id": "", - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin", - "html_url": "https://github.com/mistakevin", - "followers_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/followers", - "following_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/following{/other_user}", - "gists_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/gists{/gist_id}", - "starred_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/starred{/owner}{/repo}", - "subscriptions_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/subscriptions", - "organizations_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/orgs", - "repos_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/repos", - "events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/events{/privacy}", - "received_events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/received_events", - "type": "User", - "site_admin": false - }, - "version": "13341f687e5d3c32398c8a19b8f4cba0e4b06e5b", - "committed_at": "2016-01-17T16:40:45Z", - "change_status": { - "total": 1, - "additions": 1, - "deletions": 0 - }, - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/1e8d13a7a5afa02fa939/13341f687e5d3c32398c8a19b8f4cba0e4b06e5b" - } - ], - "truncated": false -} diff --git a/challenges/05challenge/api/gists/1e8d13a7a5afa02fa939/comments.json b/challenges/05challenge/api/gists/1e8d13a7a5afa02fa939/comments.json deleted file mode 100644 index 088c51172c..0000000000 --- a/challenges/05challenge/api/gists/1e8d13a7a5afa02fa939/comments.json +++ /dev/null @@ -1,28 +0,0 @@ -[ - { - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/1e8d13a7a5afa02fa939/comments/1676123", - "id": 1676123, - "user": { - "login": "mistakevin", - "id": 4411115, - "avatar_url": "https://avatars.githubusercontent.com/u/4411115?v=3", - "gravatar_id": "", - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin", - "html_url": "https://github.com/mistakevin", - "followers_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/followers", - "following_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/following{/other_user}", - "gists_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/gists{/gist_id}", - "starred_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/starred{/owner}{/repo}", - "subscriptions_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/subscriptions", - "organizations_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/orgs", - "repos_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/repos", - "events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/events{/privacy}", - "received_events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2016-01-21T04:20:02Z", - "updated_at": "2016-01-21T04:20:02Z", - "body": "Again, this shouldn't be here!" - } -] diff --git a/challenges/05challenge/api/gists/214debaa24a258a85fa6.json b/challenges/05challenge/api/gists/214debaa24a258a85fa6.json deleted file mode 100644 index 5a2334ab5c..0000000000 --- a/challenges/05challenge/api/gists/214debaa24a258a85fa6.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/214debaa24a258a85fa6.json", - "forks_url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/214debaa24a258a85fa6/forks", - "commits_url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/214debaa24a258a85fa6/commits", - "id": "214debaa24a258a85fa6", - "git_pull_url": "https://gist.github.com/214debaa24a258a85fa6.git", - "git_push_url": "https://gist.github.com/214debaa24a258a85fa6.git", - "html_url": "https://gist.github.com/214debaa24a258a85fa6", - "files": { - "post.md": { - "filename": "post.md", - "type": "text/plain", - "language": "Markdown", - "raw_url": "https://gist.githubusercontent.com/mistakevin/214debaa24a258a85fa6/raw/ae2be6814103094afc549a9c356a65657501ffbe/post.md", - "size": 112, - "truncated": false, - "content": "### Welcome back!\n\nHere's another post about what technologies I love to use, or about what I ate for breakfast." - } - }, - "public": true, - "created_at": "2016-01-17T16:38:43Z", - "updated_at": "2016-01-17T16:39:17Z", - "description": "#post Here's Another Post", - "comments": 1, - "user": null, - "comments_url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/214debaa24a258a85fa6/comments.json", - "owner": { - "login": "mistakevin", - "id": 4411115, - "avatar_url": "https://avatars.githubusercontent.com/u/4411115?v=3", - "gravatar_id": "", - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin", - "html_url": "https://github.com/mistakevin", - "followers_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/followers", - "following_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/following{/other_user}", - "gists_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/gists{/gist_id}", - "starred_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/starred{/owner}{/repo}", - "subscriptions_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/subscriptions", - "organizations_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/orgs", - "repos_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/repos", - "events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/events{/privacy}", - "received_events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/received_events", - "type": "User", - "site_admin": false - }, - "forks": [ - - ], - "history": [ - { - "user": { - "login": "mistakevin", - "id": 4411115, - "avatar_url": "https://avatars.githubusercontent.com/u/4411115?v=3", - "gravatar_id": "", - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin", - "html_url": "https://github.com/mistakevin", - "followers_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/followers", - "following_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/following{/other_user}", - "gists_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/gists{/gist_id}", - "starred_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/starred{/owner}{/repo}", - "subscriptions_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/subscriptions", - "organizations_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/orgs", - "repos_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/repos", - "events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/events{/privacy}", - "received_events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/received_events", - "type": "User", - "site_admin": false - }, - "version": "8988934f4a9b6ab6f2cee860afd42355e137d21e", - "committed_at": "2016-01-17T16:39:01Z", - "change_status": { - "total": 4, - "additions": 3, - "deletions": 1 - }, - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/214debaa24a258a85fa6/8988934f4a9b6ab6f2cee860afd42355e137d21e" - }, - { - "user": { - "login": "mistakevin", - "id": 4411115, - "avatar_url": "https://avatars.githubusercontent.com/u/4411115?v=3", - "gravatar_id": "", - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin", - "html_url": "https://github.com/mistakevin", - "followers_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/followers", - "following_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/following{/other_user}", - "gists_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/gists{/gist_id}", - "starred_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/starred{/owner}{/repo}", - "subscriptions_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/subscriptions", - "organizations_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/orgs", - "repos_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/repos", - "events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/events{/privacy}", - "received_events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/received_events", - "type": "User", - "site_admin": false - }, - "version": "f2696401b60660947e19720a2cce38ea8e9b622a", - "committed_at": "2016-01-17T16:38:43Z", - "change_status": { - "total": 1, - "additions": 1, - "deletions": 0 - }, - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/214debaa24a258a85fa6/f2696401b60660947e19720a2cce38ea8e9b622a" - } - ], - "truncated": false -} diff --git a/challenges/05challenge/api/gists/214debaa24a258a85fa6/comments.json b/challenges/05challenge/api/gists/214debaa24a258a85fa6/comments.json deleted file mode 100644 index fcd0d38b30..0000000000 --- a/challenges/05challenge/api/gists/214debaa24a258a85fa6/comments.json +++ /dev/null @@ -1,28 +0,0 @@ -[ - { - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/214debaa24a258a85fa6/comments/1672191", - "id": 1672191, - "user": { - "login": "mistakevin", - "id": 4411115, - "avatar_url": "https://avatars.githubusercontent.com/u/4411115?v=3", - "gravatar_id": "", - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin", - "html_url": "https://github.com/mistakevin", - "followers_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/followers", - "following_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/following{/other_user}", - "gists_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/gists{/gist_id}", - "starred_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/starred{/owner}{/repo}", - "subscriptions_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/subscriptions", - "organizations_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/orgs", - "repos_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/repos", - "events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/events{/privacy}", - "received_events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2016-01-17T16:39:17Z", - "updated_at": "2016-01-17T16:39:17Z", - "body": "Intriguing!" - } -] diff --git a/challenges/05challenge/api/gists/88b4b967cd89b99da6e3.json b/challenges/05challenge/api/gists/88b4b967cd89b99da6e3.json deleted file mode 100644 index c4988153cc..0000000000 --- a/challenges/05challenge/api/gists/88b4b967cd89b99da6e3.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/88b4b967cd89b99da6e3.json", - "forks_url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/88b4b967cd89b99da6e3/forks", - "commits_url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/88b4b967cd89b99da6e3/commits", - "id": "88b4b967cd89b99da6e3", - "git_pull_url": "https://gist.github.com/88b4b967cd89b99da6e3.git", - "git_push_url": "https://gist.github.com/88b4b967cd89b99da6e3.git", - "html_url": "https://gist.github.com/88b4b967cd89b99da6e3", - "files": { - "post.md": { - "filename": "post.md", - "type": "text/plain", - "language": "Markdown", - "raw_url": "https://gist.githubusercontent.com/mistakevin/88b4b967cd89b99da6e3/raw/7e1509a0ce6f8429157bf9dcfef4faeb4b13a005/post.md", - "size": 193, - "truncated": false, - "content": "### Hello World!\nWelcome to my awesome blog. I'm a student at [Austin Coding Academy](http://www.austincodingacademy.com/) learning how to use APIs with AJAX requests. Check out my other posts!" - } - }, - "public": true, - "created_at": "2016-01-17T16:36:43Z", - "updated_at": "2016-01-17T16:39:32Z", - "description": "#post My First Post!", - "comments": 2, - "user": null, - "comments_url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/88b4b967cd89b99da6e3/comments.json", - "owner": { - "login": "mistakevin", - "id": 4411115, - "avatar_url": "https://avatars.githubusercontent.com/u/4411115?v=3", - "gravatar_id": "", - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin", - "html_url": "https://github.com/mistakevin", - "followers_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/followers", - "following_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/following{/other_user}", - "gists_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/gists{/gist_id}", - "starred_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/starred{/owner}{/repo}", - "subscriptions_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/subscriptions", - "organizations_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/orgs", - "repos_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/repos", - "events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/events{/privacy}", - "received_events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/received_events", - "type": "User", - "site_admin": false - }, - "forks": [ - - ], - "history": [ - { - "user": { - "login": "mistakevin", - "id": 4411115, - "avatar_url": "https://avatars.githubusercontent.com/u/4411115?v=3", - "gravatar_id": "", - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin", - "html_url": "https://github.com/mistakevin", - "followers_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/followers", - "following_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/following{/other_user}", - "gists_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/gists{/gist_id}", - "starred_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/starred{/owner}{/repo}", - "subscriptions_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/subscriptions", - "organizations_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/orgs", - "repos_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/repos", - "events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/events{/privacy}", - "received_events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/received_events", - "type": "User", - "site_admin": false - }, - "version": "88b1a76d885a8ab4bf75138fd666acf70df447aa", - "committed_at": "2016-01-17T16:39:32Z", - "change_status": { - "total": 4, - "additions": 2, - "deletions": 2 - }, - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/88b4b967cd89b99da6e3/88b1a76d885a8ab4bf75138fd666acf70df447aa" - }, - { - "user": { - "login": "mistakevin", - "id": 4411115, - "avatar_url": "https://avatars.githubusercontent.com/u/4411115?v=3", - "gravatar_id": "", - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin", - "html_url": "https://github.com/mistakevin", - "followers_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/followers", - "following_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/following{/other_user}", - "gists_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/gists{/gist_id}", - "starred_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/starred{/owner}{/repo}", - "subscriptions_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/subscriptions", - "organizations_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/orgs", - "repos_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/repos", - "events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/events{/privacy}", - "received_events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/received_events", - "type": "User", - "site_admin": false - }, - "version": "7cb2aaeb4bb9422a7a0235ab1ae0c2d36ce978c1", - "committed_at": "2016-01-17T16:36:43Z", - "change_status": { - "total": 2, - "additions": 2, - "deletions": 0 - }, - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/88b4b967cd89b99da6e3/7cb2aaeb4bb9422a7a0235ab1ae0c2d36ce978c1" - } - ], - "truncated": false -} diff --git a/challenges/05challenge/api/gists/88b4b967cd89b99da6e3/comments.json b/challenges/05challenge/api/gists/88b4b967cd89b99da6e3/comments.json deleted file mode 100644 index 95620e1e8b..0000000000 --- a/challenges/05challenge/api/gists/88b4b967cd89b99da6e3/comments.json +++ /dev/null @@ -1,54 +0,0 @@ -[ - { - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/88b4b967cd89b99da6e3/comments/1672189", - "id": 1672189, - "user": { - "login": "mistakevin", - "id": 4411115, - "avatar_url": "https://avatars.githubusercontent.com/u/4411115?v=3", - "gravatar_id": "", - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin", - "html_url": "https://github.com/mistakevin", - "followers_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/followers", - "following_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/following{/other_user}", - "gists_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/gists{/gist_id}", - "starred_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/starred{/owner}{/repo}", - "subscriptions_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/subscriptions", - "organizations_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/orgs", - "repos_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/repos", - "events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/events{/privacy}", - "received_events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2016-01-17T16:37:05Z", - "updated_at": "2016-01-17T16:37:05Z", - "body": "This is great!" - }, - { - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/gists/88b4b967cd89b99da6e3/comments/1672190", - "id": 1672190, - "user": { - "login": "mistakevin", - "id": 4411115, - "avatar_url": "https://avatars.githubusercontent.com/u/4411115?v=3", - "gravatar_id": "", - "url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin", - "html_url": "https://github.com/mistakevin", - "followers_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/followers", - "following_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/following{/other_user}", - "gists_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/gists{/gist_id}", - "starred_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/starred{/owner}{/repo}", - "subscriptions_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/subscriptions", - "organizations_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/orgs", - "repos_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/repos", - "events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/events{/privacy}", - "received_events_url": "http://127.0.0.1:8080/apps/11gist-blog/api/users/mistakevin/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2016-01-17T16:37:18Z", - "updated_at": "2016-01-17T16:37:18Z", - "body": "You rock!" - } -] diff --git a/challenges/05challenge/index.html b/challenges/05challenge/index.html deleted file mode 100644 index 331c21d403..0000000000 --- a/challenges/05challenge/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - Gist Blog - - - -
- - - - - - diff --git a/challenges/05challenge/script.js b/challenges/05challenge/script.js deleted file mode 100644 index 9be38659c8..0000000000 --- a/challenges/05challenge/script.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -$(document).ready(function() { - // You code here -});