Cardiff is a city university 5 or 10 minutes walk to the city centre. Most of its first year accommodation is off campus sometimes 1/2 hour walk away. It is an old university and been around for over a century..
Warwick is an out of town university and is a bus ride to Coventry. Like Bath it is a modern university built in the 1960s. Most of its first year accommodation is on the campus but subsequent years are a bus ride away in Coventry or Leamington Spa.