Skip to main content

5 posts tagged with "debugging"

View All Tags

I Copied [responsive-columns] Literally and It Didn't Work! Understanding Placeholders vs Real Code

· 13 min read
Mahmut Salman
Software Developer

I was following a tutorial and copied this code: <div class="grid [responsive-columns] gap-6"> and NOTHING HAPPENED! 😱 My grid looked broken and I couldn't figure out why. My mentor pointed out the issue immediately: I copied [responsive-columns] literally as a class name! It was a placeholder meant to be replaced with actual Tailwind classes. This embarrassing moment taught me the crucial difference between documentation placeholders and real code. Never again! 🔥

How Do I Know My Grid Actually Works? Testing Responsive Layouts with Colorful Placeholders

· 14 min read
Mahmut Salman
Software Developer

I just set up my responsive grid container with grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4, but how do I know it actually works? 🤔 It's just an empty container! My mentor showed me a brilliant testing strategy: add colorful placeholder boxes to VISUALIZE the grid! This changed everything. Now I can resize my browser and watch the magic happen in real-time. No more guessing—I can SEE exactly what my users will experience! 🎨✨

The Mystery of the 403 Login: Understanding Spring Security's Two-Stage Authentication

· 11 min read
Mahmut Salman
Software Developer

"My login endpoint is returning 403 Forbidden! But I configured it as .permitAll() in SecurityConfig! Why is the JwtFilter still blocking it?" I spent 2 hours debugging this. Turns out, I had a fundamental misunderstanding of how Spring Security works. The JwtFilter doesn't "skip" endpoints - it runs on EVERYTHING. Let me explain the magic. 🎩✨