Skip to content

Instantly share code, notes, and snippets.

View jsmayo's full-sized avatar
👨‍💻

Jesse jsmayo

👨‍💻
View GitHub Profile
@jsmayo
jsmayo / animation-direction-s3-l27.markdown
Created January 24, 2018 22:51
animation-direction S3.L27
@jsmayo
jsmayo / index.html
Created January 26, 2018 00:52
Sunrise & Sunset Project: S3.L29
<div class="sun"></div>
<div class="grass"></div>
@jsmayo
jsmayo / css-loader-project-s3-l31.markdown
Created January 26, 2018 20:07
CSS Loader Project: S3.L31
@jsmayo
jsmayo / index.html
Created January 31, 2018 03:09
Super Simple Flexbox Side Nav S4.L39
<div class="sidebar">
<!-- This section shoudl be at the top-->
<div class="section">
<div class="item">Messages</div>
<div class="item">Friends</div>
<div class="item">User Profile</div>
</div>
<!-- This section should be at the botto -->
<div class="section">
<div class="item">Settings</div>
@jsmayo
jsmayo / flexbox-nav-s4-l43.markdown
Created January 31, 2018 14:10
Flexbox Nav S4.L43
@jsmayo
jsmayo / countDown(seconds) Definition.js
Created February 6, 2018 09:23
countDown(seconds) Definition created by jsmayo - https://repl.it/@jsmayo/countDownseconds-Definition
function countDown(seconds) {
var i = seconds;
var countDownTimer = setInterval(function() {
console.log("Timer: ", i);
i--;
if(i === 0) {
console.log("Ring Ring Ring!!!");
clearInterval(countDownTimer);
}
}, 1000);
@jsmayo
jsmayo / script.js
Created February 7, 2018 09:41
XMLHTTP Zen API : S7.L75
var XHR = new XMLHttpRequest();
/*
4 - Done
3 - headers
XHR.onreadystatechange = function() {
if(XHR.readyState == 4) {
if(XHR.status == 200) {
// responseText stores the data retrieved
console.log(XHR.responseText);
} else {
@jsmayo
jsmayo / ajax-random-dog-pictures-s7-l76.markdown
Created February 7, 2018 23:54
AJAX Random Dog Pictures S7.L76
@jsmayo
jsmayo / ajax-bitcoin-s7-l77.markdown
Created February 8, 2018 09:00
AJAX Bitcoin S7.L77