Simulating squishy rubber (elastomer) buttons, inspired by designs on Dribbble
A Pen by Captain Anonymous on CodePen.
# init a dict | |
d = dict() | |
d = {} | |
d = {'Name': 'Zara', 'Age': 7, 'Class': 'First'} # like js object | |
# get | |
d['Name'] # 'Zara' | |
d['Gender'] # KeyError # Don't use this | |
# dict.get(key, default=None) |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |