Translations:Creating a simple part with PartDesign/43/en

If your sketch is still not green, verify that all lines (but the slanted one) have either a Horizontal or  Vertical constraint, and add if necessary.