Write an article based on this summary:

Cut 2 x 4 (5. Screw in the top and bottom planks. Cut an angled cross-brace and attach it to the top and bottom rails. Cut and install the planks.
08 x 10.16 cm) frame pieces to size with a mitre saw. Start the gate by cutting the top and bottom pieces to the same width/length as you planned for, slightly smaller than the opening in the fence. Cut the upright side planks about 3 inches shorter than the height of the gate. Drill a pilot hole for the screws before putting them in so that they do not split the wood. Fasten with deck screws, pre-drilling to keep the wood from splitting. Measure from the top bend to the opposite bottom corner. Both sides should measure the same. Typically, as you start assembling, the gate framing, it's good to lay it out on a flat surface, such as a patio or driveway. Attach the top and bottom rails to the side rails, making sure it is square. This helps maintain strength and rigidity. Connect these to the frame boards that match the rest of the fence by using deck screws, pre-drilling as before. Make your diagonal cut with a mitre saw. Place the diagonal onto the box and trance with a pencil where the angles go. Place the cross-brace at a 45 degree angle extending from the bottom corner of the gate to the opposite corner of the top of the gate. Once you've designed the frame and built it, all you need to do now is attach flat planks evenly over the front of the frame to finish your basic wooden gate. Measure planks from the top to the bottom of the frame and cut them accordingly. Leave at least inch between the planks for weather allowances. Cut planks using a table saw and secure them using deck screws, drilling pilot holes to keep your planks nice and clean.