Barcelona is a fairly large city. You can walk to a lot of the principal attractions. But, in the event you’re in Barcelona for 3 times, you’ll at some point end up in need of transportation. Take the metro or taxis. The Museu Marítim shows the navigation on the Mediterranean https://www.triptales.me/unlock-barcelonas-hidden-treasures-secret-spots-you-cant-miss/