Most travelers opt for rental cars or a combination of ferries and buses to get around Croatia and Slovenia. Keep in mind that driving can be challenging in some areas, but it provides better flexibility and accessibility than public transport. Budget for gas and tolls when driving, and note that some ferries can have long wait times.
If you have more time, consider spending an extra day in each town, especially Hvar and Ljubljana. If you have less time, skip Vis Island and shorten the stay in Istria to only include Motovun. It's also recommended to visit during the shoulder seasons (May-June, September-October) to avoid crowds and save money on accommodation and transport.