Mahmood Tareq (@devatTheCave) header
Mahmood Tareq (@devatTheCave) profile picture

Helping you master web development and freelance like a pro | Freelancing tips and coding tricks | 📥 [email protected]

Joined October 2016
Photo by Mahmood Tareq (@devatTheCave)Photo by Mahmood Tareq (@devatTheCave)Photo by Mahmood Tareq (@devatTheCave)Photo by Mahmood Tareq (@devatTheCave)Photo by Mahmood Tareq (@devatTheCave)Photo by Mahmood Tareq (@devatTheCave)Photo by Mahmood Tareq (@devatTheCave)Photo by Mahmood Tareq (@devatTheCave)Photo by Mahmood Tareq (@devatTheCave)Photo by Mahmood Tareq (@devatTheCave)
Every frontend dev should learn and use Typescript. Period.
TypeScript is at a point where, as a developer, the pros and cons don’t really matter as much for you personally. It's more up to teams or project leads to make those decisions. But it’s still worth learning, even if you don’t use it in production, you’ll benefit from knowing it. I wouldn’t say this about every tool, but learning TypeScript is great for your resume and your skills as a developer.
1
1
9
637
Mahmood Tareq retweeted
I started technical writing after a long time. Technical writing helps with learning new concepts, sharing your knowledge with others etc. Check out my latest one here: infrasity.com/blog/user-guid…
5
1
11
681
Mahmood Tareq retweeted
JavaScript String Functions🔥
46
40
3
417
26,911
TypeScript is at a point where, as a developer, the pros and cons don’t really matter as much for you personally. It's more up to teams or project leads to make those decisions. But it’s still worth learning, even if you don’t use it in production, you’ll benefit from knowing it. I wouldn’t say this about every tool, but learning TypeScript is great for your resume and your skills as a developer.
13
5
1
32
2,003
Mahmood Tareq retweeted
VSCode Shortcuts Cheatsheet🔥
44
71
5
497
56,587
💡 Master your basics: HTML, CSS, and JavaScript are the core of frontend. Without these, you'll struggle to understand libraries like React. Start here 🧵:
10
5
42
1,400
Mahmood Tareq retweeted
Colorful Click-effect using HTML, CSS and JS. Code in the reply section.
20
3
45
1,707
Mahmood Tareq retweeted
🚨IconSax. Dev is on ProductHunt Hi guys! IconSax .dev, my side project that makes access to 5000+ Iconsax SVG icons easy, is on ProductHunt today. Check it out, guys, and share your feedback. producthunt.com/posts/iconsa…
49
10
4
117
9,742
Mahmood Tareq retweeted
CSS flex-direction Property 🚀 The flex-direction property specifies the direction of the flexible items. If the element is not flexible, the flex-direction property has no effect. CSS Syntax: flex-direction: row | row-reverse | column | column-reverse | inherit; The flex-direction property lets you control the main axis and the order of your flex items. flex-direction: row; Items arranged in a row from left to right (1 2 3). flex-direction: row-reverse; Items arranged in a row from right to left (3 2 1). flex-direction: column; Items arranged in a column from top to bottom (1 2 3). flex-direction: column-reverse; Items arranged in a column from bottom to top (3 2 1).
25
4
2
65
1,879
Mahmood Tareq retweeted
CSS Cursor Property🔥
28
11
127
8,794
Mahmood Tareq retweeted
💡 Customizing a React Component with built-in HTML <datalist> and CSS Styling. In the example below, I extended the <datalist> component that provides auto-complete feature out of the box in a React component: Exposed Props: ➡️data: An array of strings representing the options to display in the autocomplete dropdown. ➡️ id: A unique identifier for the <datalist> element, ensuring the <input> is correctly associated. ➡️ ...props: Additional props to pass to the <input> element (e.g., placeholder, name, onChange). Custom Styling: ➡️ Rounded Corners: Applied to the <input> element using border-radius: 8px;. ➡️ Input Focus Styles: Changed border color and added a box-shadow when the input is focused. Complete code - playcode.io/2140915
6
2
8
576
Mahmood Tareq retweeted
JavaScript Local and Session Storage🔥 Open this🧵
22
28
4
274
28,684
Dear junior dev, It’s not failure you fear—it’s other people's judgment.
5
5
29
1,153
Mahmood Tareq retweeted
Javascript Tip 💡 You can use Optional Chaining conditionally to call functions that might not exist, avoiding errors when calling a non-existent function.
36
24
2
209
10,557
Something I always recommend 🙌 We all learn on the job 😅
I still remember the first client I reached out to as a freelancer. I didn’t know how to talk to them, couldn’t write JavaScript well, and had no clue about making responsive apps. But I still got my first gig, no idea how, but I had the guts to try. Go do it scared.
2
11
384
Mahmood Tareq retweeted
Git commands Cheat Sheet:
19
180
5
1,159
157,800
Mahmood Tareq retweeted
14 Super Useful React Libraries You Should Know🔥 Open this🧵
19
28
3
159
14,348
Mahmood Tareq retweeted
PLATFORMS TO PRACTICE CODING SKILLS 🚀 1. Leetcode leetcode.com 2. Hackerrank hackerrank.com 3. Chakra codechakra.com 4. Codewars codewars.com 5. GeeksforGeeks geeksforgeeks.org 6. Exercism exercism.org 7. CodeSignal codesignal.com 8. Codepen codepen.io
30
8
90
3,384
You stop worrying about how tough or tiring programming is once you start making money from it.
21
4
56
2,357
JavaScript Tip 💡 Use 𝚂𝚝𝚛𝚒𝚗𝚐.𝚛𝚊𝚠 to output raw strings with escape characters intact.
14
9
69
3,668