Skip to content

Instantly share code, notes, and snippets.

View mkbcodes's full-sized avatar
😄

Mike Blair mkbcodes

😄
  • 13:26 (UTC -04:00)
View GitHub Profile
@mkbcodes
mkbcodes / macdonald.py
Last active November 13, 2020 01:06
Old MacDonald Had A Farm...
def oldMacDonaldCows(a:str ,b:str):
first = b + ' ' + b
second = b
third = a
print("Old Macdonald Had a farm, E-I-E-I O!")
print("On his farm he had a ",third,", E-I-E-I O!")
print("With a ",first," here and a ",first," there, here a ",second,", there a ",second,", everywhere a ",first,"!")
print("Old MacDonald had a farm, E-I-E-I O!")
return
@mkbcodes
mkbcodes / outdooradventure.css
Last active November 10, 2020 22:51
OutdoorAdventure.html file and accompanying css | Contains some css styling embedded within html
header{
display:grid;
grid-template-columns: minmax(225px, 230px) auto minmax(225px, 230px);
align-items: center;
}
footer {
/*margin: 10px 0 10px; This margin is whitespace as sadiq said in class*/
padding: 15px 0 15px; /* this padding is non-whitespace, its more useful for extending space where you have colored backgrounds */
display: grid;