Hi there,
I’m back 😅. Yeah, it’s been few weeks of rest. But safe to say, you can expect my newsletters every Monday now.
I trust that you had a great week last week.
Here’s what I have for you today:
What I did last week 😇
I started going to the gym last week (11th August precisely). Today makes it Day 6. It’s been a great journey so far, and I’m hoping I’d be consistent to the end.
I published a video on Here's what I learned on Consistency using my Gym experience. Yes, I learned few things on consistency from the gym last week and I share them in the video. Hopefully, there’s a takeaway for you:
Featured Articles ✍️
Featured Tools 🛠
Page Ruler Redux: a browser extension that allows you to take measurements between elements, viewports and many things on a page.
Useful hacks/tips ✨
You know default file input UI (with a “Choose File” button) that browsers display like this:
You can hide it using:
input[type='file']::-webkit-file-upload-button {
display: none;
}
Here’s the result:
Here’s how to create a type from an array:
const list = ['a', 'b', 'c'] as const;
type Char = typeof list[number]; // 'a'|'b'|'c';
Now, the Char is a type for the union of “a”, “b” and “c”.
As a content creator, I love simplifying diverse topics in web development that I understand. Do you have any topics, tools, or frameworks that you’d like to understand better? Do let me know, and I may be able to come up with an article or video on it.
A new week, another opportunity to do amazing things! So go do amazing things 🚀.
Do have a splendid week 🌟
Welcome back!!. I learnt something new from your useful hacks also.☺️