BLOG 06

Learning to Test What I Build

Why checking my projects at different screen sizes became part of my development process.

Learning responsive design was one thing.

Actually applying it was another.

I started testing my websites at different screen widths instead of only looking at them on my laptop.

I began checking sizes such as 320px, 375px, 430px, 768px, 1024px and larger desktop widths.

That helped me notice problems I wouldn't have seen otherwise.

Sometimes text would wrap differently.

Sometimes an image wouldn't behave the way I expected.

Sometimes elements would become too close together.

Sometimes a navigation would fit perfectly on my laptop but become cramped on a phone.

This taught me why mobile-first development is useful.

Instead of starting with a large desktop layout and trying to squeeze everything into a smaller screen afterwards, I could start with the smallest practical layout and progressively improve it as more space became available.

I also learnt that there isn't necessarily a magic breakpoint for every device.

The important question isn't:

"What breakpoint does this particular phone use?"

It's:

"At what point does my layout need to change?"

That is a much more useful way of thinking about responsive design.

I'm now applying this knowledge while building my own Learning Journal.