DEV Community

Ayush Kumar Vishwakarma
Ayush Kumar Vishwakarma

Posted on

Failure

This was one of my earliest mistakes in web development.

I spent hours trying to center a div using flex… but I applied flex inside the div, not on its parent. So the text got centered — but the box itself never moved. 😭

Looking back, it’s funny. At that time, it felt frustrating. But small mistakes like this are exactly what taught me how CSS actually works.

We all start somewhere.
This was mine.

👉 What was one beginner mistake you’ll never forget?

Top comments (0)