Seattle-based Code.org laid off 18 employees, or about 14% of its staff, the nonprofit confirmed to GeekWire on Wednesday.