In Barcelona we stayed near the La Rambla street in the center of the city.   This eliminated the need for a car.  We went to the beach one day and the rest we visited a number of Antoni Goudi attractions such as the Gaudi House Museum, Casa Batlló and of course the Sagrada Família which was very impressive.