fd moves the turtle forward

fd tells the turtle to move forward.

The distance is measured in pixels.

fd 100

If a pen is selected, the turtle will draw a line as it moves.

pen red

fd 200

If the turtle is turned, it will move in the direction it points.

rt 135

fd 50