Unfortunately, the landlord does not have to provide you with alternative accommodation if the property is not habitable while the repairs are done. Here you will get a second opinion from Citizens Advice. You will note that you may get housing benefit depending on your circumstances. Although it says that you may have to pay rent while you are out of the property, it would not be unreasonable for you to claim that back from the landlord.
Can I clarify anything for you?
Please don’t forget to rate the service positive. It’s an important part of the process by which experts get paid.