@dtomicic
Posted
I would have to agree with the comment above, I always start mobile-first and it's so much easier for me since I end up only using one or two breakpoints (usually just 768px but sometimes also 1440px) if it's not a larger project then more breakpoints are of course useful. But for small project like this I think you could've easily pulled it off going mobile first from 375px and then make the card for that dimension and give it a max-width and then on 768px you just convert it into another style and that's it.
Writing mobile first usually makes your job a lot easier and less frustrating.
Great job, listen to the advices in the comments above and keep on learning 😊
Marked as helpful
@dyntbn
Posted
@dtomicic
You've got me convinced, I'm on board with mobile-first! 😄
Surprised you mentioned that, as I did, partially, ask for that reason, of having to create and maintain multiple media queries. 🤯
I did have a lot of those same issues you pointed out, starting with a desktop-first approach, and scaling it mobile. It was taking large blocks of time, and thought there has to be a better method to this. I'll definitely try to utilize max-width
more.
I'm listening closely, this community has been very helpful at helping me learn the harder parts. Thanks Darko for your appreciation and for continuing to help me. Wishing you a great weekend! 😄👍