Aman Kureshi
banner
amankureshi.bsky.social
Aman Kureshi
@amankureshi.bsky.social
Frontend Developer
🧠 JavaScript Tip:
Use map() to loop & return a new array:

code:
const doubled = nums.map(n => n * 2);

It's cleaner than forEach when you need transformed output.
Functional & elegant! ✨

#JavaScript #Frontend #CodeTips #WebDev #amankureshi
#amankureshiFrontend #javascript
August 2, 2025 at 12:41 PM
🧪 React Tip:
Use useEffect to run code after render:

useEffect(() => {
// fetch data or run logic
}, []);

It acts like componentDidMount 🧲

✅ Great for API calls, DOM events & timers.
Keep logic clean & reactive! 💡
#ReactJS #Hooks #Frontend #WebDev #amankureshi #amankureshiFrontend #kureshiaman
August 1, 2025 at 12:54 PM
🎨 CSS Trick:

Want a smooth hover effect?

button {
transition: all 0.3s ease;
}

✨ It adds sleek animations to color, size, shadow, and more.
Pro Tip: Pair with :hover to create interactive UI!

Make your UI feel alive! ⚡
#CSS #Frontend #WebDesign #UIUX #amankureshi #amanFrontend #kureshiaman
July 31, 2025 at 4:31 PM
⚡ JavaScript Tip:

Use optional chaining ?. to avoid errors:
user?.profile?.name

No more "cannot read property of undefined" 😎
Cleaner & safer code!

#JavaScript #Frontend #CodeTips #amankureshi #amanFrontend #js
July 30, 2025 at 1:22 PM
Always use semantic tags like
,
,
July 29, 2025 at 1:09 PM
🎯 Use this CSS trick for responsive grids:

display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;

Quick, clean layout for any screen size!
#amankureshi #Frontend #CSS #WebDev
July 28, 2025 at 5:26 PM
🎨 Frontend Fact of the Day

CSS Grid is not just for layouts – it's a superpower!
You can create complex responsive designs with just a few lines of code.

Try this:
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;

#Frontend #CSS #WebDev #bsky
July 27, 2025 at 1:51 PM