@Adrien C. does make some good points about the values of condos. He is correct that condo investing can be different based on what part of the country you're trying to do it in. I've owned 2 condos in CA. Here is my story and my long term thought on this:
2012 - purchased my first condo in CA for $260k. Lived in it for about a year and a half, rented it for about 6 months and then sold it for $450k.
Now, keep in mind, this was a matter of PERFECT timing. My wife and I talk about this all the time. That condo was the first home we ever purchased. Had we bought it 5 years earlier, we would have probably bought it high and then it probably would have lost a lot of value in the 08 crash.
During the time I had that condo rented, we purchased our second condo in CA (which is the one I still have rented out today) for $493k. We did a full remodel on it and it is in tip-top shape. With the rent, we are just breaking even right now. We are holding it for the long term because 1) If we sold it, we may lose money, 2) we want to move back to CA eventually & move back into it 3) we have a 20 year mortgage on it and 4) I hope the CA market will continue to appreciate over time.
In my opinion, condos in CA are a bit different than condos in the rest of the country. In the Midwest, most people want to live in a big house with a big yard and they can do so because houses cost less. In CA, most families cannot afford a single family house and turn to condos if they choose to purchase.