How to make only one side of a square a dotted line?

How would one make only one side of a square a dotted line? Or a different color, or some other format change which would not affect the other three sides?

Thanks!

Janet

  • convert to curves, select both nodes and choose break nodes, then break apart the rectangle (Ctrl+K) and apply the color or style