Hot tips are spicy lil' nuggets related to web development and tooling that I share on my twitter account. I've logged them here to make them easier to find.
π₯ If you have a noisy console or network tab, you can usually filter those things out
641130
π₯ 4 Ways to handle the double promise with fetch() and async+await
899250205
π₯ @jensimmons just launched a new YouTube channel called Layout Land - first video is on CSS Grid! Make sure you subscribe!
1503411
π₯ Use curly brackets in the command line to cut down on typing the same thing over and over
1.5K415435
π₯ CSS Variables are perfect for overwriting parts of a definition that canβt be broken up like text-shadows, transforms or gradients
2444140
Quality
Quality
π₯ VS Code now has a shrinking tabs option - no more scrolling for your tabs!
"workbench.editor.tabSizing": "shrink"
45896130
π₯ With CSS variables, you can overwrite values when authoring HTML with an inline style attribute
52914881
Quality
Quality
π₯ Use CSS object-fit: contain; and object-fit: cover; to scale 100% width and 100% height images as large as they will go without messing up aspect ratios.
Works with <video> in most browsers except IE+Edge
634149171
π₯ You can set and use variables inside a CSS declaration. Handy for when you need the same value more than once!
809240291
π₯ VS @code just launched Live Share, which means you can do pair programming and code sharing right from your editor!