A case is the part most likely to get picked purely on looks, and it's also the part most likely to quietly not fit something else you've already bought. Three measurements matter far more than the case's appearance.
1. Motherboard form factor
ATX, Micro-ATX and Mini-ITX motherboards are all different physical sizes, and a case is built to support specific ones. Every case lists which form factors it supports, usually in the spec sheet under "motherboard support." A case built for Micro-ATX won't take a full ATX board, but most ATX cases will happily take the smaller boards too, so if you're not sure yet, a case with broad support gives you more flexibility.
2. Graphics card length
This is the one that catches people out most often. High-end graphics cards, especially ones with big triple-fan coolers, can be 320-340mm long or more. Cases list a maximum supported GPU length in their spec sheet. Check your specific graphics card's actual length (not just the model name, since different manufacturers' versions of the same GPU vary in size) against that number before you buy either part.
3. CPU cooler height
Only really an issue with large air coolers rather than liquid coolers. Big dual-tower air coolers like the Noctua NH-D15 need real clearance, sometimes 165mm or more. Cases list a maximum cooler height. Liquid coolers sidestep this entirely, but then you need to check radiator size support instead (240mm and 280mm are common sizes to check clearance for).
Airflow matters more than the amount of tempered glass
A case that's mostly glass panels looks good but often has worse airflow than a mesh-fronted equivalent, which can mean higher temperatures and a system that has to run its fans harder (and louder) to compensate. If quiet running matters to you, prioritise a mesh front panel over a fully enclosed glass one.
Don't forget cable management space
Budget cases sometimes skimp on the gap behind the motherboard tray for routing cables. It doesn't affect performance, but it makes the build process considerably more frustrating and the inside look messier. Not a dealbreaker, but worth a glance at reviews or photos before buying if you care about a tidy build.