💡 Day 37/100
JS Tip: Use "use strict"
Why?
- Prevents silent errors
- Avoids global variables
No strict mode = hidden bugs ⚠️
Using it already?
#100DaysOfCode#JavaScript#WebDev
💡 Day 36/100
CSS Tip: Use position: relative on parent
Why?
- Controls absolute elements
- Prevents layout issues
No parent = unpredictable positioning ⚠️
Do you use this properly?
#100DaysOfCode#CSS#WebDev
💡 Day 35/100
HTML Tip: Use semantic tags
✅ <header>, <main>, <section>
❌ only <div>
Why?
- Better SEO
- Accessibility
- Cleaner structure
Still overusing divs?
#100DaysOfCode#HTML#WebDev
Camera shy all my life. But today, on my birthday, I snapped for the sake of gratitude.
From site worker to web developer — only Allah writes stories this beautiful.
Alhamdulillah for the journey and every soul connected to it. 📸🤲
💡 Day 32/100
HTML Tip: Always set button type
Default = submit ⚠️
✅ type="button"
✅ type="submit"
Avoid unexpected form submissions.
Do you set it explicitly?
#100DaysOfCode#HTML#WebDev
The 5 “high” advisories?
2 were PostCSS bundled inside Next — unreachable.
3 in a dev linter — zero production risk.
--force tried to downgrade me to a version that rejected React 18.
Moral: Don’t let screaming audits dictate your stack.
#npm#Nextjs#StartupLesson
Ever watched npm audit fix --force turn a Next.js project into a time‑traveling nightmare? In 10 minutes I visited v9, v13, v16, and Windows locked my file. Spoiler: the vulnerabilities were fake. A thread 🧵👇
💡 Day 31/100
JS Tip: Use Number() for conversion
✅ Number("10")
❌ parseInt("10px") → 10 ⚠️
Why?
- More predictable
- Avoids hidden bugs
Which one do you use?
#100DaysOfCode#JavaScript#WebDev
💡 Day 30/100
CSS Tip: Use object-fit: cover
Why?
- Prevents image distortion
- Keeps aspect ratio
- Cleaner UI
Without it, images can look stretched.
Using this already?
#100DaysOfCode#CSS#WebDev
💡 Day 29/100
HTML Tip: Use <button>, not <div> for actions
Why?
- Accessibility
- Built-in behavior
- Cleaner semantics
Stop turning divs into buttons.
Still doing this sometimes?
#100DaysOfCode#HTML#WebDev
I'm deleting this soon because it's lowkey a formula to PRINT MONEY.
AI SIDE HUSTLE.
You can make $15,000 by simply working a few hours a week from anywhere in the world.
Comment 'Hustle' & I'll DM you my full guide for FREE.
Must follow me to get DM.
FREE for 48 hours only.
💡 Day 28/100
CSS Tip: Don’t abuse overflow: hidden
It can:
- Hide real layout issues
- Break dropdowns/tooltips
Fix the cause, not the symptom.
Do you use it as a hack?
#100DaysOfCode#CSS#WebDev
Went from "I need a live chat" to having a full LearnHub Live Classroom in just a few days. 🛠️📚
Features built so far:
Live stream with timer ⏱️
Real-time student chat 💬
Admin controls for recording/stopping stream 🎥
Built with @lovable and @supabase.