Chris Cooper
GitHubLinkedIn

About

👋 Hi, I'm Chris. Welcome to my site! I'm a software engineer living in Vancouver, BC, specializing in front-end and the web.

I use this site to make notes of what I've learnt in the world of JavaScript, TypeScript, CSS, Vue.js, React etc. It's mainly just a way for me to remember new stuff I learn but hopefully you'll find it useful too!

Latest Notes

JavaScript Internationalization API
  • javascript

Some cool uses of the JavaScript Internationalization API.

TypeScript Conditional Types
  • typescript

Describe the relationship between input and output types.

Selecting ranges with nth-of-type
  • css

Use the `nth-of-type` selector to select ranges in a list of elements.

Dev Tools Emulation
  • css
  • accessibility

Emulation settings enable the developer to test how a website behaves for different users

An Alternative to Container Classes
  • css

How to use CSS Grid as an alternative to wrapper classes

System Fonts
  • css

The benefits of using system fonts over Google fonts

Fluid Type Scales
  • css

Using CSS `clamp` and custom properties, we can create responsive type scales.

Text wrap: balance
  • css

Evenly balance how much text appears on each line

Flexbox Mental Model
  • css

How to think about flexbox

For...of loops
  • javascript

The benefits of using `for...of` loop over `forEach`.