Hi there!
I suggest you paint the walls first, then replace the carpet with hardwood flooring. If you do the flooring first, you will have to be very careful when you are painting (moving the...