In this manner, you will get a rigid structure and a sturdy garden shed. you should study the building codes before starting the construction of the roof. there are certain cases in which you need to choose a certain slope for your roof, so make sure you are aware of the legal requirements, before starting the actual construction.. This step by step diy woodworking project is about how to build a roof for a 4