adding constraints to board HTML